tidy_dlu | R Documentation |
Separate visit, form and question into different columns. Variable names, NOT the values, of the dlu data will be converted to lower cases.
tidy_dlu(x, clean_names = TRUE)
x |
DLU data |
clean_names |
Conver variable name to lower case (default). See
|
The DLU file contains four columns:
shortcode: Variable name of the downloaded data.
visit/form/question: Contains visit, form and question. It is separated by a slash. This function will separate this column into 'visit', 'form' and 'question' column in the output dataset. The 'question' column is the unique variable name for a particular CRF form.
description: description of the variable, namely variable label.
This is will be used by apply_macro_dict
to create variable
label.
type: type of the variable, it has IntegerData, Text, Date, Real and
Category four categories. This will be used by apply_macro_dict
to convert variables to corresponding type.
A data.frame with 'visit/form/question' column separated into 'visit', 'form' and 'question' column.
apply_macro_dict
read_data
cttab
report_missing
clean_names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.