Registering a Data Function

A Statistica data function is created based on a Statistica workspace.

The data function uses the input nodes to create input parameters of type data table. Workspace dictionary variables and workspace node parameters are used to create input parameters of type value. Output nodes are used to create output parameters of type data table.

    Procedure
  1. To select a workspace, open the Statistica Integration dialog, and click Register Statistica workspace as new data function button.
  2. Navigate to the workspace you want to use.
    Note: The workspace can be present on the local disk or on Enterprise if the Enterprise feature is enabled on the Settings tab.
  3. The Embed checkbox is selected to embed the workspace into the Data Function.
    Embedding serializes the workspace file into the Data Function. The embedded copy of the workspace is used for subsequent runs of the data function.
  4. The Cache checkbox is selected to cache the results from a Data Function.
    If there are no changes in the input parameters, the cached output is used if the Data Function is executed again. This option should not be used when the results of workspace execution depend on transient inputs or parameters not captured by the inputs to the data function.
  5. To make changes to the Embed and Cache checkbox selection on the Statistica Integration dialog, click the Modify data function definition button.