check_redcap_populated {REDCapTidieR} | R Documentation |
Check that a supplied REDCap database is populated
Description
Check for potential outputs where metadata is present, but nrow
and
ncol
equal 0
. This causes multi_choice_to_labels
to fail, but
a helpful error message should be provided.
Usage
check_redcap_populated(db_data, call = caller_env())
Arguments
db_data |
The REDCap database output generated by
|
call |
the calling environment to use in the error message |
Value
A helpful error message alerting the user to check their API privileges.
[Package REDCapTidieR version 1.1.1 Index]