Read to table
Read a CSV or delimited text file, or an open CSV/TXT session, into a table.
Command in the CSV/TXT toolkit · id ooa.csv/read · 10 inputs, 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Path | File | No | File path (or use an open session). | |
| Delimiter | String | No | , | Field delimiter: , ; | tab, newline (one value per line), or regional (the Windows list separator: ; when the machine's decimal separator is a comma, otherwise ,). |
| First row is the header | Boolean | No | true | First row holds column names. |
| Encoding | String | No | utf-8 | Text encoding: auto (the file's own: a byte order mark, else UTF-8 when it fits, else windows-1252), utf-8, utf-8-bom, ansi, unicode, utf-16, windows-1251 ... |
| Trim | String | No | none | Remove spaces at the start and/or end of every value. |
| Skip lines | Number | No | 0 | Lines to skip at the top of the file, before the header. |
| Maximum rows | Number | No | Read at most this many data rows; all when empty. | |
| Skip empty rows | Boolean | No | false | Leave out rows whose values are all empty (blank lines are always skipped). |
| Detect numbers and dates | Boolean | No | false | Turn values that are clearly numbers, true/false or ISO dates (2026-10-23) into typed values; codes with leading zeros stay text. |
| Session | String | No | Read the table of this open CSV/TXT session instead of a file (the reading options are those of its Open step). |
Outputs
| Output | Type | What it is |
|---|---|---|
| table | Table | Table of text values (typed values with detect_types). |
| row_count | Number | Number of data rows. |