csvreader v1.0 - read tabular comma-separated values (csv) the right way (incl. hash readers, converters, enumerables, dialects, and more)


(Gerald Bauer) #1

Hello,

   I've uploaded [version 1.0 of the new comma-separated values
csvreader library / gem [1] that lets you read tabular data in the
comma-separated values (csv) format the right way :-), that is, the
basic methods such as `Csv.read `or `CsvHash.read` use best practices
out-of-the-box with zero-configuration.

  Under the hood the new library includes purpose-built "backend"
parsers (e.g. `ParserStd`, `ParserStrict`, `ParserTab`, etc.) so you
can handle
all the popular comma-separated values (csv) formats / dialects such
as MySQL (use `Csv.mysql.read`) or PostgreSQL (use
`Csv.postgres.read`) exports and more using unix-style escapes and
`\N` or unquoted empty values for null/nil and so on.

   Data is the new gold :slight_smile: Happy data / gold mining with the new
csvreader library / gem (in ruby). Cheers. Prost.

PS: [What's wrong (broken) in the standard csv library? See the let's
count the ways article series [2].

[1]: https://github.com/csv11/csvreader
[2]: https://github.com/csv11/docs