File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -170,3 +170,16 @@ check-socrata-updates:
170
170
check-nssp-socrata-github-diff :
171
171
Rscript -e " suppressPackageStartupMessages(source(here::here('R', 'load_all.R'))); check_nssp_socrata_github_diff()"
172
172
173
+ update-only-nssp-submission :
174
+ @if [ -z " $$ date" ]; then \
175
+ echo " Usage: make update-only-nssp-submission date=2025-09-13" ; \
176
+ exit 1; \
177
+ fi ; \
178
+ cd ../covid19-forecast-hub; \
179
+ git pull --rebase --autostash origin main; \
180
+ head -n 1 model-output/CMU-TimeSeries/$$ date-CMU-TimeSeries.csv > temp1.csv; \
181
+ git show HEAD:model-output/CMU-TimeSeries/$$ date-CMU-TimeSeries.csv | grep " wk inc covid hosp" > temp2.csv; \
182
+ cat model-output/CMU-TimeSeries/$$ date-CMU-TimeSeries.csv | grep " wk inc covid prop ed visits" > temp3.csv; \
183
+ cat temp1.csv temp2.csv temp3.csv > model-output/CMU-TimeSeries/$$ date-CMU-TimeSeries.csv; \
184
+ rm temp1.csv temp2.csv temp3.csv; \
185
+ cd -
You can’t perform that action at this time.
0 commit comments