redcapAPI
redcapAPI copied to clipboard
exportRecords returns incorrect field type
We are finding that text field where no data has been entered in a form for that field, are returned as logical instead of the correct field type from the metadata.
Once data are entered in the field on any record, the export correctly returns the field as chr.
Factor fields, even when blank on the entire form, are returned correctly, as are date fields.
Attached are screenshots for redcapR and REDCapAPI. Help!! scrREDCapExtractions-20220718.pdf