Created
November 20, 2014 15:04
-
-
Save stucka/37d993ac091999a5340d to your computer and use it in GitHub Desktop.
Push BEA local personal income data into one national file with csvkit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem Have to force New Mexico into UTF-8. | |
del big1.csv | |
for /f %%f in ('dir /b CA04_??.csv') do csvgrep -c 2 -m "," %%f >>big1.csv | |
csvgrep -c 7 -m "Per capita personal income" big1.csv >big.csv | |
del big1.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment