savepoint

This commit is contained in:
NunoSempere 2024-06-01 18:10:16 +02:00
parent e0caeb12ea
commit c4b27215e2
4 changed files with 12041 additions and 334 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -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