GetRDataTypesOfVariablesInRedcapDataset: Get the R data types of variables in dataset from REDCap...

get_r_types_in_dataR Documentation

Get the R data types of variables in dataset from REDCap metadata

Description

Utility function that gets the data type(s) of the variables in a redcap project

Usage

get_r_types_in_data(metadata, negative_char = "_")

Arguments

metadata

REDCap metadata

negative_char

checkbox expansion character for a negative checkbox level

Details

Using the redcap metadata, code is generated that extracts the data types of the variables in the dataset.

Useful for metaprogramming.

Value

The R data types of the variables in the dataset


smockin/RedcapData documentation built on June 10, 2025, 6:05 p.m.