Defining a Data Function

You can modify the definition of an existing Statistica Data Function from the currently open analysis.

Before you beginThe button is enabled only if a data function is selected from the list.
    Procedure
  1. To make changes to the data function definition, click Modify data function definition button.
    The Edit Data Function Definition dialog opens.

  2. You can modify the Name, Description, Embed setting, and Cache setting.
  3. You can see the workspace path in the Source Workspace field. There are options to Update or Export... the workspace. If you update the workspace in Statistica, you can update the data function definition in Spotfire by using the Update button. You can save a copy of the embedded workspace on the local disk using the Export... button.
  4. The Run Location drop-down list has three options. The Default option refers to the Prefer remote engine when available setting on Statistica Integration dialog. You can specify if you want to run the data function using the remote engine by selecting Prefer Server or the local engine by selecting Prefer Local.
  5. To modify the Data Function definition, you can select or deselect the workspace elements under Inputs, Parameters, and Outputs tabs.
    • Inputs: Contains a list of Input Nodes that can be used as input parameters of type Table. Data from Spotfire Data Tables can be passed into such parameters during execution of the data function.
    • Parameters: Specifies the Workspace Dictionary variables and Workspace Node parameters that should be used as input parameters of type value. Scalar values that are specified directly through Document properties and expressions can be passed into such parameters during the execution of data function. These options correspond to settings on various nodes present in the workspace and can be used to modify the performance of various processes represented by the nodes. The tri-state checkboxes show if any one or all options are selected from the list.
      Note: Any checkbox is either selected or deselected. The third state in a checkbox is shown as a square in the checkbox. This state indicates that at least one of the checkbox in the sub-tree is selected.
    • Outputs: Specifies the Output nodes and Statistica Spreadsheet type elements from the Reporting Documents collection. These nodes and elements are used as output parameters of type Table. Data produced after running a Statistica workspace can be brought back into Spotfire as Data Tables through these parameters.
  6. The Show dialog after registering a new data function checkbox is selected by default. This opens the Edit Data Function Definition dialog after the registration of a new data function.