process_cli: Process the shaped CLI data into a Tableau ready format

Description Usage Arguments Value Examples

View source: R/process_metrics.R

Description

Process the shaped CLI data into a Tableau ready format

Usage

1
process_cli(cli_df, crit_cat = TRUE)

Arguments

cli_df

data.frame produced by pull_essence for CLI metrics

crit_cat

flag indicating whether we want to include a Critically high category in the output file (DEFAULT TRUE)

Value

a Tableau ready data.frame with the following columns:

Date

Date hospital information was reported

Region_ID

ID code for geographic unit (FIPS for county and state)

Region

Name of geographic unit (county, state, HERC region)

RowType

Are row values summary or daily values

CLI_Count

Count of CLI emergency department visits

CLI_Burden

see score_burden

CLI_Trajectory

see score_trajectory

CLI_Burden_Class

see class_burden

CLI_Trajectory_Class

see class_trajectory

CLI_Composite_Class

see confirmed_case_composite

CLI_Trajectory_P

see pval_trajectory

CLI_Trajectory_FDR

see fdr_trajectory

Examples

1
2
3
4
## Not run: 
  #write me an example

## End(Not run)

carlbfrederick/ohiCovidMetrics documentation built on Jan. 10, 2022, 12:20 p.m.