Retrieves records and project metadata from the REDCap API using REDCapR.
Value
A list containing raw records, metadata, events, event-instrument
mapping, instruments, and repeating instrument configuration.
Known responses indicating that events, mappings, or arms do not apply to a
classic project, or that no repeating instruments/events exist, produce empty
metadata tables. Other endpoint failures are reported. Records and headers
use raw REDCap codes with automatic type guessing disabled, and checkbox choices are
returned as raw 0/1 values. Only empty strings are imported as missing.
Gray form statuses are exported as blanks rather than Incomplete (0).
