convert_dates: converts date fields from ISO character string format to R...

Description Usage Arguments See Also

View source: R/utils.R

Description

Date fields are determined by the date-fields element in the .ehr definition. Extra date fields can be added to the extras argument or by setting '.ehr$date_fields'.

Usage

1
convert_dates(dat, extras = NULL)

Arguments

dat

a dataframe

extras

= a character vector of extra columns to convert or NULL for no extras

See Also

get_EHR_value set_EHR_value


rOpenHealth/rEHR documentation built on March 19, 2018, 7:58 a.m.