Skip to content

Commit

Permalink
single quotes inside double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
elray1 committed Dec 18, 2024
1 parent b5c0a62 commit 25f94e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/snapshot-nhsn-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:

- name: Snapshot NHSN data
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 <- 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 }}
Expand Down

0 comments on commit 25f94e3

Please sign in to comment.