redcap_logical: REDCap Logical

View source: R/redcap.R

redcap_logicalR Documentation

REDCap Logical

Description

REDCap Logical

Usage

redcap_logical(name, value)

Arguments

name

name to give logical

value

R logical to cast as REDCap API logical

Value

an R logical represented as a named list of lowercase character

Examples

## Not run: 
a <- TRUE
redcap_logical("a", a)

b <- FALSE
redcap_logical("b", b)

c <- "not gonna work"
redcap_logical("c", c)

## End(Not run)

RoeLabWustl/roelabr documentation built on Aug. 27, 2022, 9:57 a.m.