| AddData |
AddData reads data from an input file, either a CSV file with a formatted header row, or a Nextanalytics Optimized Disk (NOD) cache file.
Syntax:AddData, filenameParameters:filename – the file name of the data file Examples:AddData , file1.csv AddData , file1.nod CommentsThere are two types of input files supported with this command: CSV and NOD. Comma-Separated-Value (CSV) files are a very popular format. CSV files must be formatted with field names in the first row which is part of the standard of CSV. As an addition to the standard, to use the AddData command, the field names must start with rowlabel_, text_ , date_ or numeric_ to indicate that they are Row Labels, Text, Date or Numeric Columns, respectively. If you want to work with a CSV file but can't arrange to have this customization performed to the header of the CSV file, you can use AddPage, ImportData or ImportDataNoHeaders. The other input file type are NOD files. NOD files are proprietary to nextanalytics. To create a nod file, see: SavePageToNOD. Please note: NOD file internal formats are different under unix than .NET, so if you create a file on one, it's not readable on the other. The script to generate the NOD file, however, runs the same on both platforms, so it is easy to re-create the NOD file.
|
| < Prev | Next > |
|---|