lanetix-import-csv
v1.1.0
Published
Import data to Lanetix from csv
Downloads
4
Maintainers
Keywords
Readme
lanetix-import-csv
Import csv files into lanetix.
Installation
npm install -g lanetix-import-csv
Usage
First you need to get a csv file which has a header row which consists of field names, and subsequent rows which contain valid values for thoses fields (or blank).
NB you must currently resolve your own dependencies (e.g., determine
owner_id
from owner name).
NB you must ensure that numbers are actually numbers (no ,
or $
)
lanetix-import-csv <record-type> <file> <api-uri> <token>
Will read a csv from file, and rows into records, basing the field name off of the first row of the csv file. Records of type record-type are created at api- uri with token.
Options: -h, --help Show help -i Ignore missing fields (will continue import if a column header does not match any existing fields)