diff --git a/.github/workflows/generate-forecast-visualization-data.yaml b/.github/workflows/generate-forecast-visualization-data.yaml index 76ceb96..1db4257 100644 --- a/.github/workflows/generate-forecast-visualization-data.yaml +++ b/.github/workflows/generate-forecast-visualization-data.yaml @@ -6,7 +6,7 @@ on: - cron: '00 16 * * 4' jobs: - update-viz-data: + update-visualization-data: if: ${{ github.repository_owner == 'CDCgov' }} runs-on: ubuntu-22.04 env: @@ -38,8 +38,7 @@ jobs: - name: generate data files run: | TODAY=$(date +'%Y-%m-%d') - #REF_DATE=$(date -d "$TODAY + 2 days" +'%Y-%m-%d') #uncomment after generating the files in CI for the week - REF_DATE="2024-12-14" + REF_DATE=$(Rscript -e "cat(strftime(lubridate::ceiling_date(lubridate::today(), 'week', week_start = 6, change_on_boundary = FALSE)))") Rscript src/get_covid_hosp_data.R --reference_date "$REF_DATE" --base_hub_path "." --target_data FALSE Rscript src/get_forecast_data.R --reference_date "$REF_DATE" --base_hub_path "." --horizons_to_include 0 1 2 Rscript src/get_map_data.R --reference_date "$REF_DATE" --base_hub_path "." --horizons_to_include 0 1 2 @@ -57,6 +56,6 @@ jobs: - name: Create pull request run: | - gh pr create --base main --head add-viz-data --title "Weekly foecast visualization data" --body "This PR adds weekly visualization data files to the repo." + gh pr create --base main --head add-viz-data --title "Weekly forecast visualization data" --body "This PR adds weekly visualization data files to the repo." env: GH_TOKEN: ${{ steps.get_workflow_token.outputs.token }} diff --git a/weekly-summaries/2024-12-14/2024-12-14_covid_target_hospital_admissions_data.csv b/weekly-summaries/2024-12-14/2024-12-14_covid_target_hospital_admissions_data.csv index 9263a5a..183ac5b 100644 --- a/weekly-summaries/2024-12-14/2024-12-14_covid_target_hospital_admissions_data.csv +++ b/weekly-summaries/2024-12-14/2024-12-14_covid_target_hospital_admissions_data.csv @@ -226,7 +226,6 @@ week_ending_date,location,location_name,value 2024-11-23,02,Alaska,8 2024-11-30,02,Alaska,5 2024-12-07,02,Alaska,17 -2024-12-14,02,Alaska,8 2020-08-08,01,Alabama,1767 2020-08-15,01,Alabama,1803 2020-08-22,01,Alabama,1930 @@ -454,7 +453,6 @@ week_ending_date,location,location_name,value 2024-11-23,01,Alabama,71 2024-11-30,01,Alabama,91 2024-12-07,01,Alabama,102 -2024-12-14,01,Alabama,112 2020-08-08,05,Arkansas,449 2020-08-15,05,Arkansas,412 2020-08-22,05,Arkansas,425 @@ -682,7 +680,6 @@ week_ending_date,location,location_name,value 2024-11-23,05,Arkansas,52 2024-11-30,05,Arkansas,57 2024-12-07,05,Arkansas,53 -2024-12-14,05,Arkansas,46 2020-08-08,04,Arizona,1658 2020-08-15,04,Arizona,1473 2020-08-22,04,Arizona,1292 @@ -910,7 +907,6 @@ week_ending_date,location,location_name,value 2024-11-23,04,Arizona,778 2024-11-30,04,Arizona,744 2024-12-07,04,Arizona,836 -2024-12-14,04,Arizona,758 2020-08-08,06,California,4836 2020-08-15,06,California,4273 2020-08-22,06,California,3498 @@ -1138,7 +1134,6 @@ week_ending_date,location,location_name,value 2024-11-23,06,California,651 2024-11-30,06,California,688 2024-12-07,06,California,749 -2024-12-14,06,California,715 2020-08-08,08,Colorado,316 2020-08-15,08,Colorado,256 2020-08-22,08,Colorado,147 @@ -1366,7 +1361,6 @@ week_ending_date,location,location_name,value 2024-11-23,08,Colorado,150 2024-11-30,08,Colorado,169 2024-12-07,08,Colorado,181 -2024-12-14,08,Colorado,175 2020-08-08,09,Connecticut,101 2020-08-15,09,Connecticut,51 2020-08-22,09,Connecticut,77 @@ -1594,7 +1588,6 @@ week_ending_date,location,location_name,value 2024-11-23,09,Connecticut,79 2024-11-30,09,Connecticut,68 2024-12-07,09,Connecticut,94 -2024-12-14,09,Connecticut,101 2020-08-08,11,District of Columbia,102 2020-08-15,11,District of Columbia,104 2020-08-22,11,District of Columbia,89 @@ -1822,7 +1815,6 @@ week_ending_date,location,location_name,value 2024-11-23,11,District of Columbia,24 2024-11-30,11,District of Columbia,11 2024-12-07,11,District of Columbia,16 -2024-12-14,11,District of Columbia,21 2020-08-08,10,Delaware,7 2020-08-15,10,Delaware,30 2020-08-22,10,Delaware,47 @@ -2050,7 +2042,6 @@ week_ending_date,location,location_name,value 2024-11-23,10,Delaware,20 2024-11-30,10,Delaware,26 2024-12-07,10,Delaware,24 -2024-12-14,10,Delaware,25 2020-08-08,12,Florida,6733 2020-08-15,12,Florida,5817 2020-08-22,12,Florida,5040 @@ -2278,7 +2269,6 @@ week_ending_date,location,location_name,value 2024-11-23,12,Florida,257 2024-11-30,12,Florida,270 2024-12-07,12,Florida,292 -2024-12-14,12,Florida,307 2020-08-08,13,Georgia,1316 2020-08-15,13,Georgia,1548 2020-08-22,13,Georgia,2427 @@ -2506,7 +2496,6 @@ week_ending_date,location,location_name,value 2024-11-23,13,Georgia,76 2024-11-30,13,Georgia,84 2024-12-07,13,Georgia,111 -2024-12-14,13,Georgia,149 2020-08-08,15,Hawaii,218 2020-08-15,15,Hawaii,268 2020-08-22,15,Hawaii,918 @@ -2734,7 +2723,6 @@ week_ending_date,location,location_name,value 2024-11-23,15,Hawaii,13 2024-11-30,15,Hawaii,10 2024-12-07,15,Hawaii,15 -2024-12-14,15,Hawaii,11 2020-08-08,19,Iowa,366 2020-08-15,19,Iowa,345 2020-08-22,19,Iowa,329 @@ -2962,7 +2950,6 @@ week_ending_date,location,location_name,value 2024-11-23,19,Iowa,53 2024-11-30,19,Iowa,56 2024-12-07,19,Iowa,86 -2024-12-14,19,Iowa,77 2020-08-08,16,Idaho,145 2020-08-15,16,Idaho,124 2020-08-22,16,Idaho,147 @@ -3190,7 +3177,6 @@ week_ending_date,location,location_name,value 2024-11-23,16,Idaho,21 2024-11-30,16,Idaho,23 2024-12-07,16,Idaho,33 -2024-12-14,16,Idaho,29 2020-08-08,17,Illinois,633 2020-08-15,17,Illinois,613 2020-08-22,17,Illinois,737 @@ -3418,7 +3404,6 @@ week_ending_date,location,location_name,value 2024-11-23,17,Illinois,257 2024-11-30,17,Illinois,273 2024-12-07,17,Illinois,324 -2024-12-14,17,Illinois,424 2020-08-08,18,Indiana,407 2020-08-15,18,Indiana,397 2020-08-22,18,Indiana,527 @@ -3646,7 +3631,6 @@ week_ending_date,location,location_name,value 2024-11-23,18,Indiana,166 2024-11-30,18,Indiana,156 2024-12-07,18,Indiana,257 -2024-12-14,18,Indiana,309 2020-08-08,20,Kansas,166 2020-08-15,20,Kansas,167 2020-08-22,20,Kansas,186 @@ -3874,7 +3858,6 @@ week_ending_date,location,location_name,value 2024-11-23,20,Kansas,56 2024-11-30,20,Kansas,49 2024-12-07,20,Kansas,87 -2024-12-14,20,Kansas,81 2020-08-08,21,Kentucky,1090 2020-08-15,21,Kentucky,1566 2020-08-22,21,Kentucky,1307 @@ -4102,7 +4085,6 @@ week_ending_date,location,location_name,value 2024-11-23,21,Kentucky,95 2024-11-30,21,Kentucky,91 2024-12-07,21,Kentucky,126 -2024-12-14,21,Kentucky,150 2020-08-08,22,Louisiana,1476 2020-08-15,22,Louisiana,1342 2020-08-22,22,Louisiana,1121 @@ -4330,7 +4312,6 @@ week_ending_date,location,location_name,value 2024-11-23,22,Louisiana,68 2024-11-30,22,Louisiana,64 2024-12-07,22,Louisiana,80 -2024-12-14,22,Louisiana,101 2020-08-08,25,Massachusetts,171 2020-08-15,25,Massachusetts,142 2020-08-22,25,Massachusetts,132 @@ -4558,7 +4539,6 @@ week_ending_date,location,location_name,value 2024-11-23,25,Massachusetts,368 2024-11-30,25,Massachusetts,368 2024-12-07,25,Massachusetts,447 -2024-12-14,25,Massachusetts,421 2020-08-08,24,Maryland,387 2020-08-15,24,Maryland,359 2020-08-22,24,Maryland,352 @@ -4786,7 +4766,6 @@ week_ending_date,location,location_name,value 2024-11-23,24,Maryland,87 2024-11-30,24,Maryland,76 2024-12-07,24,Maryland,74 -2024-12-14,24,Maryland,86 2020-08-08,23,Maine,11 2020-08-15,23,Maine,6 2020-08-22,23,Maine,10 @@ -5014,7 +4993,6 @@ week_ending_date,location,location_name,value 2024-11-23,23,Maine,21 2024-11-30,23,Maine,25 2024-12-07,23,Maine,20 -2024-12-14,23,Maine,33 2020-08-08,26,Michigan,242 2020-08-15,26,Michigan,389 2020-08-22,26,Michigan,378 @@ -5242,7 +5220,6 @@ week_ending_date,location,location_name,value 2024-11-23,26,Michigan,465 2024-11-30,26,Michigan,597 2024-12-07,26,Michigan,589 -2024-12-14,26,Michigan,686 2020-08-08,27,Minnesota,138 2020-08-15,27,Minnesota,205 2020-08-22,27,Minnesota,228 @@ -5470,7 +5447,6 @@ week_ending_date,location,location_name,value 2024-11-23,27,Minnesota,225 2024-11-30,27,Minnesota,183 2024-12-07,27,Minnesota,268 -2024-12-14,27,Minnesota,341 2020-08-08,29,Missouri,427 2020-08-15,29,Missouri,515 2020-08-22,29,Missouri,655 @@ -5698,7 +5674,6 @@ week_ending_date,location,location_name,value 2024-11-23,29,Missouri,175 2024-11-30,29,Missouri,166 2024-12-07,29,Missouri,141 -2024-12-14,29,Missouri,185 2020-08-08,28,Mississippi,766 2020-08-15,28,Mississippi,791 2020-08-22,28,Mississippi,611 @@ -5926,7 +5901,6 @@ week_ending_date,location,location_name,value 2024-11-23,28,Mississippi,50 2024-11-30,28,Mississippi,33 2024-12-07,28,Mississippi,54 -2024-12-14,28,Mississippi,48 2020-08-08,30,Montana,88 2020-08-15,30,Montana,94 2020-08-22,30,Montana,95 @@ -6154,7 +6128,6 @@ week_ending_date,location,location_name,value 2024-11-23,30,Montana,26 2024-11-30,30,Montana,17 2024-12-07,30,Montana,39 -2024-12-14,30,Montana,26 2020-08-08,37,North Carolina,1008 2020-08-15,37,North Carolina,782 2020-08-22,37,North Carolina,1150 @@ -6382,7 +6355,6 @@ week_ending_date,location,location_name,value 2024-11-23,37,North Carolina,157 2024-11-30,37,North Carolina,147 2024-12-07,37,North Carolina,173 -2024-12-14,37,North Carolina,223 2020-08-08,38,North Dakota,96 2020-08-15,38,North Dakota,87 2020-08-22,38,North Dakota,71 @@ -6610,7 +6582,6 @@ week_ending_date,location,location_name,value 2024-11-23,38,North Dakota,19 2024-11-30,38,North Dakota,24 2024-12-07,38,North Dakota,17 -2024-12-14,38,North Dakota,8 2020-08-08,31,Nebraska,69 2020-08-15,31,Nebraska,130 2020-08-22,31,Nebraska,146 @@ -6838,7 +6809,6 @@ week_ending_date,location,location_name,value 2024-11-23,31,Nebraska,36 2024-11-30,31,Nebraska,41 2024-12-07,31,Nebraska,74 -2024-12-14,31,Nebraska,50 2020-08-08,33,New Hampshire,12 2020-08-15,33,New Hampshire,10 2020-08-22,33,New Hampshire,179 @@ -7066,7 +7036,6 @@ week_ending_date,location,location_name,value 2024-11-23,33,New Hampshire,20 2024-11-30,33,New Hampshire,44 2024-12-07,33,New Hampshire,67 -2024-12-14,33,New Hampshire,66 2020-08-08,34,New Jersey,180 2020-08-15,34,New Jersey,177 2020-08-22,34,New Jersey,260 @@ -7294,7 +7263,6 @@ week_ending_date,location,location_name,value 2024-11-23,34,New Jersey,210 2024-11-30,34,New Jersey,187 2024-12-07,34,New Jersey,188 -2024-12-14,34,New Jersey,241 2020-08-08,35,New Mexico,78 2020-08-15,35,New Mexico,59 2020-08-22,35,New Mexico,102 @@ -7522,7 +7490,6 @@ week_ending_date,location,location_name,value 2024-11-23,35,New Mexico,116 2024-11-30,35,New Mexico,122 2024-12-07,35,New Mexico,125 -2024-12-14,35,New Mexico,120 2020-08-08,32,Nevada,760 2020-08-15,32,Nevada,577 2020-08-22,32,Nevada,578 @@ -7750,7 +7717,6 @@ week_ending_date,location,location_name,value 2024-11-23,32,Nevada,31 2024-11-30,32,Nevada,64 2024-12-07,32,Nevada,44 -2024-12-14,32,Nevada,42 2020-08-08,36,New York,517 2020-08-15,36,New York,493 2020-08-22,36,New York,848 @@ -7978,7 +7944,6 @@ week_ending_date,location,location_name,value 2024-11-23,36,New York,405 2024-11-30,36,New York,370 2024-12-07,36,New York,446 -2024-12-14,36,New York,469 2020-08-08,39,Ohio,449 2020-08-15,39,Ohio,573 2020-08-22,39,Ohio,634 @@ -8206,7 +8171,6 @@ week_ending_date,location,location_name,value 2024-11-23,39,Ohio,324 2024-11-30,39,Ohio,333 2024-12-07,39,Ohio,380 -2024-12-14,39,Ohio,503 2020-08-08,40,Oklahoma,352 2020-08-15,40,Oklahoma,466 2020-08-22,40,Oklahoma,549 @@ -8434,7 +8398,6 @@ week_ending_date,location,location_name,value 2024-11-23,40,Oklahoma,70 2024-11-30,40,Oklahoma,105 2024-12-07,40,Oklahoma,137 -2024-12-14,40,Oklahoma,152 2020-08-08,41,Oregon,89 2020-08-15,41,Oregon,87 2020-08-22,41,Oregon,109 @@ -8662,7 +8625,6 @@ week_ending_date,location,location_name,value 2024-11-23,41,Oregon,57 2024-11-30,41,Oregon,48 2024-12-07,41,Oregon,57 -2024-12-14,41,Oregon,66 2020-08-08,42,Pennsylvania,626 2020-08-15,42,Pennsylvania,459 2020-08-22,42,Pennsylvania,411 @@ -8890,7 +8852,6 @@ week_ending_date,location,location_name,value 2024-11-23,42,Pennsylvania,1030 2024-11-30,42,Pennsylvania,640 2024-12-07,42,Pennsylvania,640 -2024-12-14,42,Pennsylvania,709 2020-08-08,72,Puerto Rico,182 2020-08-15,72,Puerto Rico,265 2020-08-22,72,Puerto Rico,263 @@ -9118,7 +9079,6 @@ week_ending_date,location,location_name,value 2024-11-23,72,Puerto Rico,24 2024-11-30,72,Puerto Rico,78 2024-12-07,72,Puerto Rico,107 -2024-12-14,72,Puerto Rico,86 2020-08-08,44,Rhode Island,47 2020-08-15,44,Rhode Island,58 2020-08-22,44,Rhode Island,42 @@ -9346,7 +9306,6 @@ week_ending_date,location,location_name,value 2024-11-23,44,Rhode Island,30 2024-11-30,44,Rhode Island,21 2024-12-07,44,Rhode Island,40 -2024-12-14,44,Rhode Island,41 2020-08-08,45,South Carolina,943 2020-08-15,45,South Carolina,645 2020-08-22,45,South Carolina,631 @@ -9574,7 +9533,6 @@ week_ending_date,location,location_name,value 2024-11-23,45,South Carolina,72 2024-11-30,45,South Carolina,67 2024-12-07,45,South Carolina,75 -2024-12-14,45,South Carolina,60 2020-08-08,46,South Dakota,47 2020-08-15,46,South Dakota,93 2020-08-22,46,South Dakota,95 @@ -9802,7 +9760,6 @@ week_ending_date,location,location_name,value 2024-11-23,46,South Dakota,31 2024-11-30,46,South Dakota,19 2024-12-07,46,South Dakota,24 -2024-12-14,46,South Dakota,43 2020-08-08,47,Tennessee,1402 2020-08-15,47,Tennessee,1331 2020-08-22,47,Tennessee,1216 @@ -10030,7 +9987,6 @@ week_ending_date,location,location_name,value 2024-11-23,47,Tennessee,99 2024-11-30,47,Tennessee,143 2024-12-07,47,Tennessee,139 -2024-12-14,47,Tennessee,185 2020-08-08,48,Texas,6571 2020-08-15,48,Texas,5840 2020-08-22,48,Texas,5549 @@ -10258,7 +10214,6 @@ week_ending_date,location,location_name,value 2024-11-23,48,Texas,260 2024-11-30,48,Texas,284 2024-12-07,48,Texas,381 -2024-12-14,48,Texas,337 2020-08-08,US,US,39044 2020-08-15,US,US,36630 2020-08-22,US,US,36884 @@ -10486,7 +10441,6 @@ week_ending_date,location,location_name,value 2024-11-23,US,US,7922 2024-11-30,US,US,7717 2024-12-07,US,US,8808 -2024-12-14,US,US,9551 2020-08-08,49,Utah,128 2020-08-15,49,Utah,126 2020-08-22,49,Utah,89 @@ -10714,7 +10668,6 @@ week_ending_date,location,location_name,value 2024-11-23,49,Utah,64 2024-11-30,49,Utah,57 2024-12-07,49,Utah,61 -2024-12-14,49,Utah,55 2020-08-08,51,Virginia,333 2020-08-15,51,Virginia,421 2020-08-22,51,Virginia,413 @@ -10942,7 +10895,6 @@ week_ending_date,location,location_name,value 2024-11-23,51,Virginia,116 2024-11-30,51,Virginia,101 2024-12-07,51,Virginia,120 -2024-12-14,51,Virginia,157 2020-08-08,50,Vermont,3 2020-08-15,50,Vermont,5 2020-08-22,50,Vermont,6 @@ -11170,7 +11122,6 @@ week_ending_date,location,location_name,value 2024-11-23,50,Vermont,21 2024-11-30,50,Vermont,12 2024-12-07,50,Vermont,20 -2024-12-14,50,Vermont,15 2020-08-08,53,Washington,192 2020-08-15,53,Washington,190 2020-08-22,53,Washington,165 @@ -11398,7 +11349,6 @@ week_ending_date,location,location_name,value 2024-11-23,53,Washington,89 2024-11-30,53,Washington,78 2024-12-07,53,Washington,56 -2024-12-14,53,Washington,74 2020-08-08,55,Wisconsin,673 2020-08-15,55,Wisconsin,485 2020-08-22,55,Wisconsin,447 @@ -11626,7 +11576,6 @@ week_ending_date,location,location_name,value 2024-11-23,55,Wisconsin,148 2024-11-30,55,Wisconsin,133 2024-12-07,55,Wisconsin,186 -2024-12-14,55,Wisconsin,217 2020-08-08,54,West Virginia,96 2020-08-15,54,West Virginia,74 2020-08-22,54,West Virginia,93 @@ -11854,7 +11803,6 @@ week_ending_date,location,location_name,value 2024-11-23,54,West Virginia,150 2024-11-30,54,West Virginia,151 2024-12-07,54,West Virginia,90 -2024-12-14,54,West Virginia,152 2020-08-08,56,Wyoming,121 2020-08-15,56,Wyoming,50 2020-08-22,56,Wyoming,37 @@ -12082,4 +12030,3 @@ week_ending_date,location,location_name,value 2024-11-23,56,Wyoming,31 2024-11-30,56,Wyoming,47 2024-12-07,56,Wyoming,42 -2024-12-14,56,Wyoming,55