Description Usage Arguments Value Examples
View source: R/extract_admits.R
Extract admits by nursing unit
1 2 3 4 | extract_admits(startdate_id, enddate_id, site = "LGH Lions Gate",
n_units = c("LGH 2E", "LGH 3E", "LGH 3W", "LGH 4E", "LGH 4W", "LGH 5E",
"LGH 6E", "LGH 6W", "LGH 7E", "LGH 7W", "LGH 7W", "LGH EIP", "LGH ICU"),
denodo_vw = vw_admission_discharge)
|
startdate_id |
e.g. "20190101" |
enddate_id |
e.g. "20190101" |
site |
e.g. "Lions Gate Hospital" |
n_units |
e.g. "LGH 4E". Corresponds to denodo field nursing_unit_short_desc_at_admit |
denodo_vw |
e.g. vw_adtc. denodo_view is the name of the table saved as a connection via dbplyr |
a dataframe with dates and admission counts, by nursing unit
1 2 | setup_denodo()
extract_admits("20190101", "20190107")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.