Learn R Programming

EDCimport (version 0.6.0)

edc_clean_names: 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)

Value

an edc_database object

Arguments

database

an edc_database object, from read_trialmaster() or other EDCimport reading functions.

clean_fun

a cleaning function to be applied to column names.

Examples

Run this code
#db = read_trialmaster("filename.zip", pw="xx")
db = edc_example() %>% 
  edc_clean_names()
names(db$enrol)

Run the code above in your browser using DataLab