Make identity poop out column headers
stringerbell opened this issue · 3 comments
stringerbell commented
Running csv-chef identity ./foo.csv
This returns something like:
1 <- 1
2 <- 2
3 <- 3
...
It seems like it'd be handy to have annotated names, like such as:
1 <- 1 # voter id
2 <- 2 # first
3 <- 3 # last
...
dstockto commented
Did you mean with header output turned on, or either way?
stringerbell commented
ooh -- yes. I'm mostly just getting used to this and poking around. I think I'm imagining not having to always reference the input file manually if you forget which index maps to which column
dstockto commented
I like the comment idea though. Could be helpful.