Description Usage Arguments Details Value
tidy_services
tidy medical service history data
1 | tidy_services(raw.data)
|
raw.data |
A data frame with service data |
This function takes a data frame with medical service history and produces a
tidy version with service begin and end dates/times. It accounts for
incorrect end times from raw EDW data by calculating the end time using the
start time of the next service (unless it was the patient's last service
during the hospitalization). It also combines multiple rows of data when the
patient did not actually leave that service. The data should be read in by
read_edw_data
.
A data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.