redcapAPI
redcapAPI copied to clipboard
importRecords not assigning DAGs
I am exporting a report (using exportReports) with dag = TRUE. The redcap_data_access_group variable appears in the dataframe, but when I use importRecords to import the dataframe into another REDCap project (with the same DAGs), none of the records are being assigned a DAG. When I export the dataframe as a .csv and import it manually, the DAG is assigned.
Is there a parameter I need to add to importRecords to get the DAGs to assign correctly? Has anyone else had this issue?
Thanks!