Learn R Programming

REDCapExporter (version 0.1.0)

col_type: Column Types

Description

Define a type for each column of the records for a REDCap project based on the metadata for the project.

Usage

col_type(x, factors = TRUE, ...)

Arguments

x

a rcer_metadata or rcer_raw_metadata object

factors

If TRUE (default) then variables inputed via drop-down lists and radio buttons are set up to be factors. If FALSE, then the column type will be character.

...

not currently used

Value

a rcer_col_type object

Examples

Run this code
# NOT RUN {
data("avs_raw_metadata")
col_type(avs_raw_metadata)

# }

Run the code above in your browser using DataLab