Description Usage Arguments Value Examples
View source: R/process_metrics.R
take case data (from WEDSS or historical data table) and put it in proper shape for metric tables to feed tableau
1 | shape_case_data(case_df)
|
case_df |
Confirmed case data.frame (e.g. produced by pull_histTable) |
a list of data.frames. The "summary" data.frame has one row per county, state, and HERC regions with the following columns
FIPS Code and/or region identifier
Name of geography
2018 Population Numbers pulled from WISH
Total cases for current 7 day period
Total cases for prior 7 day period
End date for current 7 day period
End date for prior 7 day period
and the "daily" data.frame has one row per county, state, and HERC region per day for the two week period with the following columns
FIPS Code and/or region identifier
Name of geography
Date cases were confirmed
Count of cases confirmed that day
1 2 3 4 5 | ## Not run:
hdt <- pull_histTable()
hdt_clean <- shape_case_data(hdt)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.