try_redcapr: Make a 'REDCapR' API call with custom error handling

View source: R/utils.R

try_redcaprR Documentation

Make a REDCapR API call with custom error handling

Description

Make a REDCapR API call with custom error handling

Usage

try_redcapr(expr, call = caller_env())

Arguments

expr

an expression making a REDCapR API call

call

the calling environment to use in the warning message

Value

If successful, the data element of the REDCapR result. Otherwise an error


REDCapTidieR documentation built on April 3, 2025, 10:50 p.m.