getDataSetCSV() Method
Description
Gets dataset values as CSV with custom columns order and timestamp format.
Note: in order to get a column from a source dataset, you should mention that column in any data provider
Parameters
- dataSetId:String
Dataset identifier
- columnsOrder:Array of Integer
Sets the order of columns in resulting CSV table. Should be an array of column indexes from the original CSV file.
- [optional] dateTimeFormat:String
A format string for the timestamp
- [optional] colsSeparator:String
Columns separator. Default value is ","
- [optional] rowsSeparator:String
Rows separator. Default value is "\n".
Returns
String
a CSV string with data.
Samples
Online HTML/JavaScript Sample