View source: R/library--data_prep--calculated_tools--build_analysis_DF.R
buildCaseAnalysisDF | R Documentation |
Prep case data into right format
buildCaseAnalysisDF(
df,
site_column = site,
date_column = date,
case_column = conf_case,
pop_column = pop
)
df |
case dataframe have columns: Date, pop, FirstConfirmed |
site_column |
name of site column |
date_column |
name of date column |
case_column |
name of case column |
pop_column |
name of pop column |
DF with a 7 day rolling sum and a population weighted case column
data(Case_data, package = "Covid19Wastewater")
data(Pop_data, package = "Covid19Wastewater")
buildCaseAnalysisDF(dplyr::left_join(head(Case_data), Pop_data))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.