savepoint
This commit is contained in:
parent
dec133e6e0
commit
e0caeb12ea
7740
data/polls/president_polls.csv.1
Normal file
7740
data/polls/president_polls.csv.1
Normal file
File diff suppressed because it is too large
Load Diff
2
makefile
2
makefile
|
@ -3,7 +3,7 @@ run:
|
||||||
|
|
||||||
polls:
|
polls:
|
||||||
mkdir -p data/polls
|
mkdir -p data/polls
|
||||||
# cd data/polls && wget https://projects.fivethirtyeight.com/polls/data/president_polls.csv
|
cd data/polls && wget https://projects.fivethirtyeight.com/polls/data/president_polls.csv
|
||||||
cat data/polls/president_polls.csv | awk -F, 'NR==1 {print; next} $$13 != ""' > data/polls/president_polls_state.csv
|
cat data/polls/president_polls.csv | awk -F, 'NR==1 {print; next} $$13 != ""' > data/polls/president_polls_state.csv
|
||||||
# cd data/polls && awk -F, 'NR == 1 || $13 != ""' president_polls.csv > president_polls_state.csv
|
# cd data/polls && awk -F, 'NR == 1 || $13 != ""' president_polls.csv > president_polls_state.csv
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user