col_type: Column Types

Description Usage Arguments Value Examples

View source: R/col-type.R

Description

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

Usage

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

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

Value

a rcer_col_type object

Examples

1
2
data("avs_raw_metadata")
col_type(avs_raw_metadata)

REDCapExporter documentation built on Feb. 2, 2021, 5:15 p.m.