SOURCE Statement (GPL)

Syntax

SOURCE: <source name> = <function>

<source name>. User-defined name for the data source. Refer to GPL Syntax Rules for information about which characters you can use in the name.

<function>. A function for extracting data from various data sources.

Description

Defines a data source for the graph. There can be multiple data sources, each specified by a different SOURCE statement.

Examples

Figure 1. Example: Reading a CSV file
SOURCE: mydata = csvSource(path("/Data/demo.csv"))