View source: R/standard_dataset.R
make_adm_type_col | R Documentation |
make_adm_type_col
make_adm_type_col(data, adm_method_mapping)
data |
episode data including ADMISSION_FROM_CODE column |
adm_method_mapping |
mapping from Admission Method to type of admission. e.g. 11 = Elective. Must have columns Admission.Method and Admission.Type, Admission.Method values should be distinct i.e. each value of Admission.Method should have one and only one corresponding Admission.Type. |
data, with additional column Admission.Type mapped from ADMISSION_FROM_CODE using adm_method_mapping
## Not run: new_dataset <- make_adm_type_col(dataset, adm_method_mapping = mapping) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.