shape_cli_data: Shape CLI data

Description Usage Arguments Value Examples

View source: R/process_metrics.R

Description

Shape CLI data

Usage

1

Arguments

cli_df

data.frame produced by pull_essence for CLI metrics

Value

a list of data.frames. The "summary" data.frame has one row per county, state, and HERC region with the following columns

Visit_Date

Date of emergency dept visit

fips

FIPS Code and/or region identifier

County

Name of geography

RowType

Are row values summary or daily values

DailyED

Count of CLI ED visits for the day

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

FIPS Code and/or region identifier

County

Name of geography

pop_2018

2018 Population Numbers pulled from WISH

WeeklyED_1

Total CLI visits for current 7 day period

WeeklyED_2

Total CLI visits for previous 7 day period

week_end_1

End date for current 7 day period

week_end_2

End date for prior 7 day period

RowType

Are row values summary or daily values

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.