tabreader library / gem v1.0 - read in tabular datafiles in text in the TAB format
Hello, I’ve published the tabreader library / gem version 1.0
that lets you
read in tabular datafiles in text in the tabular (TAB) format.
Use Tab.parse
or Tab.read
or Tab.foreach
or Tab.open
or Tab.new
.
Or with headers (column names in the first row) use TabHash.parse
or TabHash.read
and so on.
Yes, tabreader uses "1\t2\t3".split( "\t" )
for parsing :-).
Happy data wrangling with ruby. Cheers. Prost. PS: The FAQ in the README includes:
Q: Why NOT use Csv.read( sep: "\t" )
? ++
Q: What’s the tabulator (TAB) format? ++
Q: Why tab? ++
Q: Why NOT tab?
Post a comment