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