csvreader v1.0 - read comma-separated values (csv) the right way (incl. hash, ...)
Hello, I’ve uploaded version 1.0 of the new comma-separated values csvreader library / gem 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 :-) 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.
Post a comment