Data functions and the f(x) flyout
In addition to the possibility to add your own calculated columns or custom expressions to an analysis, a business author might also have access to data functions that have been created by a script author using Spotfire Analyst and saved in Spotfire library. These data functions can be used to add more advanced calculations and use scripts based on different programming languages in the analysis.
For more information, see the following sections:
- What are data functions?
- Running data functions in Spotfire web clients
- Data functions in the Data canvas
- Interactive tuning of data functions
- The f(x) flyout
For information about calculated columns and custom expressions, see Making your own calculations.
- What are data functions?
Data functions are the Spotfire way of letting advanced analysts, statisticians or mathematicians enhance Spotfire by creating scripts that can perform pretty much any type of calculation and returning the results to a Spotfire analysis. They can be created using the installed Spotfire client. If the data function is saved in the library, a Spotfire Business Author with the Execute Data Functions license feature (under the Spotfire Advanced Analytics licence) can use the data function when creating a new analysis. Consumer users can benefit from the results of the calculations when interacting with the finished analysis. - Running data functions in Spotfire web clients
Data functions that perform different types of calculations can be created using the installed Spotfire client. If the data function is saved in the library, anyone with authoring licenses plus the Execute Data Functions license feature (under Spotfire Advanced Analytics) can use the data function when creating an analysis. Consumer users can benefit from the results of the calculations when interacting with the finished analysis. - Data functions in the Data canvas
If you have added any data functions to your analysis, you can find all currently used data function instances in the Data canvas. - Interactive tuning of data functions
When a data function instance has been added to an analysis and the output is a calculated column, or a part of a data table (a new data table, added rows or added columns), and this output is used in a visualization, an analysis author can tune the input values directly from the visualization. This functionality is only available in Editing mode (not for consumer users). - The f(x) flyout
The f(x) flyout is a handy way for Spotfire authors to easily reach their favorite analytic tools by providing the possibility to pin data functions from the library to the flyout. It is available to analyst and to business author users with the f(x) Flyout license feature (under Spotfire Advanced Analytics). Click on a pinned data function in the list to run it in your analysis (when applicable; for example, some data functions cannot run unless you have data in the analysis).
Parent topic: Extending Spotfire