View source: R/countOutcomes.R
extracts time series of admission by age brackets
1 2 3 4 5 6 7 | getAdmissionsTimeSeries(
data,
ageBrackets = NULL,
ageCol = "startage",
locations = NULL,
admittedDateCol = "admidate"
)
|
data |
dataframe of APC data |
ageBrackets |
list of vectors where first item is lower age and second is upper age of age bracket, age brackets will be treated assuming they are inclusive. If Null data won't be split by age |
ageCol |
Field in data in which age is stored, must be supplied with ageBrackets |
locations |
Field in data to treat as locations to be split by. If Null data won't be split by location |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.