Skip to content
Jigwright
HullForge docs

Import Data Table CSV

Import CSV or JSON into a data table. THIS REPLACES THE WHOLE TABLE; it is not a merge. The engine reports problems as warnings rather than failures, so the warnings are returned in full and a lossy import is not called a success.

hf_import_data_table_csvWrite

Arguments

NameTypeDescription
data_tablereqstring
accept_replacementboolean
= false
Required when the table already has rows, because they are all replaced.
filestringAbsolute path to read from instead.
forceboolean
= false
Edit even when the asset cannot currently be saved - for example when revision control is configured but disconnected. The change will be made in memory and WILL BE LOST unless the underlying problem is fixed before saving. Only pass this if you intend to discard the work or fix the connection first.
formatstring
= csv
csv | json
textstringCSV or JSON content. Use this or "file".

Nearby in Data assets:

All 25 tools in Data assets — 16 more not listed here.