# Configuring a Data Function

A Statistica data function is created based on a Statistica workspace. The data function uses the input nodes (usually the Statistica spreadsheets) to create input parameters of type data table.

Note: You can also use dictionary variables in the workspace. The dictionary is a container with key/value pairs. Dictionary variables can also be used as input parameter as type value.
Note: Output nodes are used to create output parameters of type data table.

## Procedure

1. To open a workspace from local disk or from Enterprise, open the Statistica Integration dialog box, and click Add Workspace.
2. Navigate to the workspace you want to open.
   Note: The workspace can be on the local disk or on Enterprise.
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 called again.

## What to do next

You can run the Data Function after configuring the data functions and settings.

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