CsvStream

Takes two parameters, CSVData, bNoHeaders

Usage:

Data, bHasHeader
Data, ["y"]

Description:

Given the CSV data from any source in a TopQuery field, it is parsed into the WorkQuery using CRLF characters for Records and commas for Fields.

As an optimization, this command does not correctly parse whitespace within a field, or handle quotes within quoted fields. Only use this command if the data is from a trusted source and these limitations are not an issue. For general purposes, the CsvStreamWS command should be used instead.

When loading a file instead of any other source, in most cases you want to use either LoadCsvFile or LoadCsvFileWS instead.

Example:

CsvStream MyData