-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcreate.sh
executable file
·19 lines (15 loc) · 935 Bytes
/
create.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# allStates=("AK" "AL" "AZ" "AR" "CO" "CT" "DE" "FL" "GA" "HI" "ID" "IL" "IN" "IA" "KS" "KY" "LA" "ME" "MD" "MA" "MN" "MS" "MO" "MT" "NE" "NV" "NH" "NM" "NC" "ND" "OH" "OK" "OR" "PA" "RI" "SC" "SD" "TN" "TX" "UT" "VT" "VA" "WV" "WI"
# "WY")
allStates=("LL" "MM" "DD")
# for s in "AR" "CO" "CT" "DE" "FL" "GA" "HI" "ID" "IL" "IN" "IA" "KS" "KY" "LA" "ME" "MD" "MA" "MN" "MS" "MO" "MT" "NE" "NV" "NH" "NM" "NC" "ND" "OH" "OK" "OR" "PA" "RI" "SC" "SD" "TN" "TX" "UT" "VT" "VA" "WV" "WI" "WY"
# do
# mkdir ./docs/US-$s
# touch ./docs/US-$s/countyTimeseries.json
# echo "[]" >> ./docs/US-$s/countyTimeseries.json
# done
# differnet table type : MA
# two sortable table : ?
# not using specific class : AZ
# don't have table yet: WI
echo "getCountyData('MA','https://en.wikipedia.org/wiki/2020_coronavirus_pandemic_in_Massachusetts','.sortable tbody tr[class!=sortbottom]',1,3,5)" >> ./getData/test.js
node ./getData/test.js