csvSource Function (GPL)
Syntax
csvSource(file("file path"), key("key name"), <function>)
"file path". The path to the CSV file. This can be an absolute or relative path. The path is relative to the location of the application that parses the GPL code. Backslashes must be escaped with another backslash. You can also use forward slashes.
"key name". The name of a variable in the file that acts as a key. The key is used to link multiple sources, especially a dataset and a map file.
<function>. One or more valid functions. These are optional.
Description
Reads the contents of a comma-separated values (CSV) file. This function is used to assign the contents of the file to a data source.
Examples
SOURCE: mydata = csvSource(file("/Data/Employee data.csv"))