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

Description Usage Arguments See Also

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


rEHR documentation built on Jan. 23, 2017, 1 p.m.

Related to convert_dates in rEHR...