Skip to content

Commit

Permalink
auto update
Browse files Browse the repository at this point in the history
  • Loading branch information
cjwit committed Nov 19, 2020
1 parent 8a39c3c commit eb88a0f
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 6 deletions.
59 changes: 57 additions & 2 deletions covid.csv
Original file line number Diff line number Diff line change
Expand Up @@ -14262,7 +14262,7 @@ date,state,fips,cases,deaths
2020-11-17,Alaska,02,24909,94
2020-11-17,Arizona,04,281284,6320
2020-11-17,Arkansas,05,135902,2245
2020-11-17,California,06,1055672,18336
2020-11-17,California,06,1057852,18360
2020-11-17,Colorado,08,173220,2626
2020-11-17,Connecticut,09,94986,4771
2020-11-17,Delaware,10,29552,739
Expand Down Expand Up @@ -14312,4 +14312,59 @@ date,state,fips,cases,deaths
2020-11-17,Washington,53,140923,2686
2020-11-17,West Virginia,54,35324,598
2020-11-17,Wisconsin,55,342155,2876
2020-11-17,Wyoming,56,24453,155
2020-11-17,Wyoming,56,24453,155
2020-11-18,Alabama,01,223486,3347
2020-11-18,Alaska,02,25454,94
2020-11-18,Arizona,04,284554,6365
2020-11-18,Arkansas,05,137617,2275
2020-11-18,California,06,1069316,18465
2020-11-18,Colorado,08,178224,2669
2020-11-18,Connecticut,09,97028,4784
2020-11-18,Delaware,10,29755,742
2020-11-18,District of Columbia,11,19465,665
2020-11-18,Florida,12,905240,17730
2020-11-18,Georgia,13,417934,8833
2020-11-18,Guam,66,7315,101
2020-11-18,Hawaii,15,16817,222
2020-11-18,Idaho,16,87020,815
2020-11-18,Illinois,17,608056,11488
2020-11-18,Indiana,18,270847,5084
2020-11-18,Iowa,19,197532,2102
2020-11-18,Kansas,20,131051,1326
2020-11-18,Kentucky,21,148069,1816
2020-11-18,Louisiana,22,209914,6184
2020-11-18,Maine,23,9519,170
2020-11-18,Maryland,24,172204,4351
2020-11-18,Massachusetts,25,195868,10407
2020-11-18,Michigan,26,302541,8576
2020-11-18,Minnesota,27,242099,3066
2020-11-18,Mississippi,28,137396,3601
2020-11-18,Missouri,29,266187,3591
2020-11-18,Montana,30,50650,568
2020-11-18,Nebraska,31,106617,838
2020-11-18,Nevada,32,126106,1947
2020-11-18,New Hampshire,33,15749,504
2020-11-18,New Jersey,34,291374,16655
2020-11-18,New Mexico,35,70452,1290
2020-11-18,New York,36,578826,33607
2020-11-18,North Carolina,37,322258,4927
2020-11-18,North Dakota,38,67236,791
2020-11-18,Northern Mariana Islands,69,103,2
2020-11-18,Ohio,39,318828,5827
2020-11-18,Oklahoma,40,161425,1570
2020-11-18,Oregon,41,59670,791
2020-11-18,Pennsylvania,42,287464,9541
2020-11-18,Puerto Rico,72,77525,971
2020-11-18,Rhode Island,44,45911,1284
2020-11-18,South Carolina,45,199447,4182
2020-11-18,South Dakota,46,68671,674
2020-11-18,Tennessee,47,319021,4005
2020-11-18,Texas,48,1125758,20471
2020-11-18,Utah,49,162091,742
2020-11-18,Vermont,50,3161,60
2020-11-18,Virgin Islands,78,1463,23
2020-11-18,Virginia,51,208833,3860
2020-11-18,Washington,53,142511,2704
2020-11-18,West Virginia,54,36277,612
2020-11-18,Wisconsin,55,350665,2939
2020-11-18,Wyoming,56,25275,155
2 changes: 1 addition & 1 deletion dist/assets/data.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class='page-header'>
<h1>COVID-19 statistics in the United States</h1>
<p>
Last updated on <span id="date">November 18, 2020</span> with data through <span id="lastData">November 17, 2020</span>.
Last updated on <span id="date">November 19, 2020</span> with data through <span id="lastData">November 18, 2020</span>.
</p>
<p>
Click state names to show their graphs individually.
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"test": "echo \"Error: no test specified\" && exit 1",
"webpack": "npx webpack",
"firefox": "open -a Firefox ./dist/index.html",
"update": "curl \"https://raw.githubusercontent.com/nytimes/covid-19-data/master/us-states.csv\" -o \"/Users/cwituls/Documents/covid/covid.csv\" && python covid.py",
"deploy": "git subtree push --prefix dist origin gh-pages"
"updateData": "curl \"https://raw.githubusercontent.com/nytimes/covid-19-data/master/us-states.csv\" -o \"/Users/cwituls/Documents/covid/covid.csv\" && python covid.py",
"deploy": "git subtree push --prefix dist origin gh-pages",
"update": "npm run updateData && git commit -am \"auto update\" && npm run deploy"

},
"repository": {
"type": "git",
Expand Down

0 comments on commit eb88a0f

Please sign in to comment.