savepoint
This commit is contained in:
parent
e0caeb12ea
commit
c4b27215e2
File diff suppressed because it is too large
Load Diff
8777
data/polls/president_polls.csv.2
Normal file
8777
data/polls/president_polls.csv.2
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1
makefile
1
makefile
|
@ -3,6 +3,7 @@ run:
|
||||||
|
|
||||||
polls:
|
polls:
|
||||||
mkdir -p data/polls
|
mkdir -p data/polls
|
||||||
|
rm data/polls/president_polls.csv
|
||||||
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