RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

csvreader v1.1.0 - adds records with fixed width fields (fwf) and no separator :-)

Hello, I’ve added the CSV with meta data (front matter) block in YAML (CSVY) format and the “classic” fortran-style fixed width fields (FWF) with no separator in the latest csvreader library / gem update. Use: Csv.fixed.parse( ..., width: [8,8,32,14] ), for example, for the new flavor or Csv.meta to get the (optional) meta data block in the CSV v1.0 “The Right Way” format / flavor. Happy data wrangling with ruby. Cheers. Prost. PS: If you want to see other CSV flavors / dialects / formats / variants included, please tell.

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