Files
dolt/clients/csv
Erik Arvidsson fe70aebcee noms.io: Make csv reader more lenient
Allow the rows to be of different length
2016-03-07 16:12:18 -08:00
..
2016-02-17 12:45:46 -08:00
2016-03-07 16:12:18 -08:00

CSV Importer

Imports a CSV file as List<T> where T is a struct with fields corresponding to the CSV's column headers. The struct spec can also be set manually with the -header flag.

Usage

$ cd importer
$ go build
$ ./importer --h=http://localhost:8000  --ds=foo <PATH>

Some places for CSV files

CSV Exporter

Export a dataset in CSV format to stdout with column headers.

Usage

$ cd exporter
$ go build
$ ./exporter --h=http://localhost:8000  --ds=foo