Learn R Programming

REDCapExporter (version 0.2.2)

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, ...)

Value

a rcer_col_type object

Arguments

x

a rcer_metadata or rcer_raw_metadata object

factors

If TRUE (default) then variables reported 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

Examples

Run this code

data("avs_raw_metadata")
col_type(avs_raw_metadata)

Run the code above in your browser using DataLab