pull_hospital: Imports Hospitalization file produced from EM Resource

Description Usage Arguments Value Examples

View source: R/data_pull_fcns.R

Description

Imports Hospitalization file produced from EM Resource

Usage

1
pull_hospital(file, end_date = NULL)

Arguments

file

path to EM Resource hospitalization summary .csv file

end_date

(default = NULL) If specified it is the end date of the time series that you wish to analyze. It should be something coercible to Date format with as.Date. If you want all data leave it blank.

Value

a data.frame suitable for metric calculations

Examples

1
2
3
4
## Not run: 
  pull_hospital("hospdtatafile.csv")

## End(Not run)

lcrayton18/State_package_burdenandtrajectory documentation built on July 19, 2020, 12:37 a.m.