rc_format_api: Clean variable types following API call

View source: R/tidy_redcap.R

rc_format_apiR Documentation

Clean variable types following API call

Description

Clean variable types following API call

Usage

rc_format_api(data, dictionary, yesno = "logical")

Arguments

data

Data exported from REDCap via API call.

dictionary

Data dictionary exported from REDCap API call.

yesno

Determine how to return REDCap 'Yes - No' fields; options include 'factor' (default), 'numeric', or 'logical'.

Value

The REDCap dataset with variable types cleaned.


jwilliman/redcapTidy documentation built on Nov. 22, 2023, 7:07 a.m.