format_ehr_date: Format EHR Date

Description Usage Arguments Value Examples

Description

This function allows you to format dates pulled from WFBMC EHR into standard format

Usage

1
format_ehr_date(df, covariate)

Arguments

df

Raw EHR dataset which includes covariate

covariate

Date covariate which needs to be reformatted

Value

A data frame with a reformatted date

Examples

1
2
3
4
## Not run: 
format_ehr_date(df, Birth.Date)

## End(Not run)

jjwillard/wfbmcr documentation built on May 7, 2019, 9:21 p.m.