tidy_data: Tidy data

Description Usage Arguments Details Value

Description

tidy_data tidy data from standard EDW queries

Usage

1
tidy_data(raw.data, type, ...)

Arguments

raw.data

A data frame with the data to be tidied

type

A character indicating what type of data is being tidied

...

parameters to pass on to the underlying tidy function

Details

This function calls the underlying tidy function based on the value passed to the type parameter and returns the tidy data frame. Valid options for type are: diagnosis*, icd9, icd10, labs, locations, meds_cont, meds_outpt, meds_sched, services, visit_times.

* diagnosis is deprecated, use icd9 or icd10 instead

Value

A data frame


bgulbis/BGTools documentation built on May 12, 2019, 8:21 p.m.