# 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 box, and click Register.
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. To embed the workspace into the Data Function, select the Embed check box.
   This serializes the workspace file into the Data Function. The embedded copy of the workspace is used for subsequent runs of the data function.
4. To cache the results from a Data Function, select the Cache check box.
   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.

Copyright © Cloud Software Group, Inc. All rights reserved.