col_type {REDCapExporter}R Documentation

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 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


data("avs_raw_metadata")
col_type(avs_raw_metadata)


[Package REDCapExporter version 0.2.2 Index]