From c07ea7e72db78f555e358ebf67ad67e47928b3eb Mon Sep 17 00:00:00 2001 From: Evan Ray Date: Wed, 18 Dec 2024 23:17:55 -0500 Subject: [PATCH] Update .github/workflows/snapshot-nhsn-data.yml --- .github/workflows/snapshot-nhsn-data.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/snapshot-nhsn-data.yml b/.github/workflows/snapshot-nhsn-data.yml index b7e9013..7320817 100644 --- a/.github/workflows/snapshot-nhsn-data.yml +++ b/.github/workflows/snapshot-nhsn-data.yml @@ -37,7 +37,7 @@ jobs: run: Rscript -e "nhsn_data <- RSocrata::read.socrata('https://data.cdc.gov/resource/mpgq-jmmr.csv'); nhsn_data <- nhsn_data[c('jurisdiction', 'weekendingdate', 'totalconfflunewadm', 'totalconfc19newadm')]; nhsn_data$weekendingdate <- substr(nhsn_data$weekendingdate, 1, 10); - colnames(nhsn_data) <- c('Geographic aggregation', 'Week Ending Date', 'Total Influenza Admissions", "Total COVID-19 Admissions'); + colnames(nhsn_data) <- c('Geographic aggregation', 'Week Ending Date', 'Total Influenza Admissions', 'Total COVID-19 Admissions'); write.csv(nhsn_data, file = '$FILE_NAME', row.names = FALSE)" env: FILE_NAME: ${{ env.FILE_NAME }}