edc_clean_names {EDCimport} | R Documentation |
Clean up the names of all datasets
Description
Clean the names of all the datasets in the database. By default, it converts names to lowercase letters, numbers, and underscores only.
Usage
edc_clean_names(database, clean_fun = NULL)
Arguments
database |
an edc_database object, from |
clean_fun |
a cleaning function to be applied to column names. |
Value
an edc_database object
Examples
#db = read_trialmaster("filename.zip", pw="xx")
db = edc_example() %>%
edc_clean_names()
names(db$enrol)
[Package EDCimport version 0.6.0 Index]