Skip to content

Conversation

@mwegener
Copy link

To get COVID-19 mortality data on my own I did the following, not sure if its the most efficient way but it did work for me.

I used some original R code from this GitHub page and added the variables for COVID I needed (found here: https://gis.cdc.gov/grasp/flu7/GetPhase07InitApp?appVersion=Public).

I labeled each code chunk (this code was copied from the rmd file I used) with the R file name I used from this GitHub page (https://github.com/hrbrmstr/cdcfluview/tree/master/R) and you can find where I added the COVID variables on line 440 (also described in my comment on line 349).

The last part of the rmd file includes some SQL code I added which formats a table to look like the CSV file downloaded from the CDC fluview interactive website: https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html

For this to work, I think you need to load the cdcfluview package -> library(cdcfluview)

If you could please try this and let me know it works for you that would be great.

To get COVID-19 mortality data on my own I did the following, not sure if its the most efficient way but it did work for me.

I used some original R code from this GitHub page and added the variables for COVID I needed (found here: https://gis.cdc.gov/grasp/flu7/GetPhase07InitApp?appVersion=Public). 

I labeled each code chunk (this code was copied from the rmd file I used) with the R file name I used from this GitHub page (https://github.com/hrbrmstr/cdcfluview/tree/master/R) and you can find where I added the COVID variables on line 440 (also described in my comment on line 349).

The last part of the rmd file includes some SQL code I added which formats a table to look like the CSV file downloaded from the CDC fluview interactive website: https://gis.cdc.gov/grasp/fluview/fluportaldashboard.html

For this to work, I think you need to load the cdcfluview package -> library(cdcfluview)

If you could please try this and let me know it works for you that would be great.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant