RubyFlow The Ruby and Rails community linklog

csvreader - read tabular data in comma-separated values (csv) format the right way

Hello, I’ve started to put together a new library / gem, that is, csvreader - that lets you read tabular data in the comma-separated values (csv) format the right way :-), that is, uses best practices such as striping / trimming leading and trailing spaces, skipping comments and blank lines, “fixes” quote errors and more - all out-of-the-box with zero-configuration. and, thus, fixes some major bugs in the (old) standard csv library with a purpose-built parser (instead of a suppossed “faster” split(",") kludge). Happy data wrangling with ruby. Cheers. Prost.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in