rsrini7 / go-csv

Tools written in go for manipulating CSV files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NAME

go-csv - a set of golang tools and libraries for manipulating CSV representations

DESCRIPTION

go-csv is a set of tools for manipulating streams of CSV data.

As a rule, most tools in this set assume CSV files that include a header record that describes the contents of each field.

TOOLS

  • csv-select - selects the specified fields from the header-prefixed, CSV input stream
  • uniquify - augments a partial key so that each record in the output stream has a unique natural key
  • surrogate-keys - augments the input stream so that each record in the output stream has a surrogate key derived from the MD5 sum of the natural key
  • csv-to-json - converts a CSV stream into a JSON stream.
  • json-to-csv - converts a JSON stream into a CSV stream.
  • csv-sort - sorts a CSV stream according to the specified columns.
  • csv-join - joins two sorted CSV streams after matching on specified columns.
  • influx-line-format - convert a CSV stream into influx line format.
  • csv-use-tab - uses a table delimit while writing (default) or reading (--on-read) a CSV stream

INSTALLATION

The instructions assume that there is a local go installation available, that the binaries will be installed into $GOPATH/bin and this directory is already on the user's PATH.

go install github.com/wildducktheories/go-csv/...

DOCUMENTATION

For more information, refer to https://godoc.org/github.com/wildducktheories/go-csv .

LICENSE

Refer to LICENSE file in same directory.

COPYRIGHT

(c) 2014 - Wild Duck Theories Australia Pty Limited

About

Tools written in go for manipulating CSV files.

License:GNU Lesser General Public License v3.0


Languages

Language:Go 100.0%