Description Usage Arguments Details Value See Also
read_edw_data
takes a directory and file name and reads in all
matching csv files and binds them together into a data frame
1 | read_edw_data(data.dir, file.name, type = NA, check.distinct = TRUE)
|
data.dir |
A character string with the name of the directory containing the data files |
file.name |
A character string with name of data file or pattern to match |
type |
An optional character string indicating type of data being tidied |
check.distinct |
An optional logical, calls
|
This function takes a directory and file name and reads in all matching csv
files and binds them together into a data frame using
read_csv
from the readr package.
Valid options for type include: blood, charges, cost, demographics, diagnosis*, encounters, events, home_meds, icd9, icd10, icu_assess, id, labs, locations, measures, meds_continuous, meds_sched, meds_sched_freq, mpp, mrn, orders, patients, problems, procedures**, procedures_icd9, procedures_icd10, radiology, services, surgeries, uop, vent_settings, vent_start, visits, vitals, warfarin
* diagnosis option is deprecated; use icd9 or icd10 instead
** procedures option is deprecated; use procedures_icd9 or procedures_icd10 instead
A data frame (tbl_df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.