Skip to main content

Create from CSV text

Build a table from CSV text held in a variable (for example an e-mail body or an API answer), with quoted fields understood.

Command in the Data Table toolkit · id ooa.datatable/from_csv_text · 4 inputs (1 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
TextStringYesCSV text, one row per line.
DelimiterStringNo,One character between fields: , ; | or tab.
First row is the headerBooleanNotrueThe first line holds the column names; Column1, Column2 … when off.
Convert numbersBooleanNofalseStore fields that are plain numbers, such as 12.5, as numbers; codes with a leading 0 stay text.

Outputs​

OutputTypeWhat it is
tableTableNew table.
row_countNumberNumber of data rows.