Batch File Upload
ADRCs may upload data for multiple participants at a time using a batch file saved as a CSV.
Batch file format
Accepted batch file format is changed to allow standardization and more robust processing.
The CSV files uploaded must have a header on the first line. Column headers should match with the Data Element Dictionary
for the respective module which can be found in the EDC File Downloads Page. Each subsequent line in the file should correspond to a participant visit (i.e values form the individual forms for the visit combined in to a comma separated single row in the file).
Each module needs to be submitted in a separate CSV file. You cannot put the data for UDS forms and module forms in the same file, even if they are from the same visit. These have separate data dictionaries, and so have different headers. Each data dictionary corresponds to the columns in one file.
fixed-width format files are not accepted for UDSv4 and associated module submissions.
Naming files
The names of submitted form data files must have a suffix indicating the module, so that the submission system can determine the expected schema for the file. The file name suffixes for currently supported modules are given in the table below.
Module | Suffix |
---|---|
Enrollment & Transfer (version 1) | -enroll.csv |
UDSv4 | -uds.csv |
FTLD | -ftld.csv |
LBD | -lbd.csv |
Formatting exports from REDCap EDC-workgroup projects
If your center uses REDCap with the EDC-developed REDCap projects, these projects include a report called "Export [module] Records" (e.g. Export UDSv4 Records) meant for exporting the data to CSV for upload to NACC. These reports allow a center to export only the expected data, even if the REDCap project has been extended for site-specific purposes.
Remember to remove the redcap_event_name
column from the CSV before upload.
If you are using the NACC REDCap instance, see the Direct Data Entry documentation.
Setting user privileges for manual exports
To export data, a user needs to have Data Export rights to all of the instruments in the project. This is done by a REDCap administrator.
For the user to access the report in the REDCap user interface, they need to be granted View Access. This is done by opening the export report, clicking the Edit Report button, and then under Step 1 ensuring the user has View Access.
Exporting data using the NACC Export report
To manually export this report, open the report in your center's project in REDCap. Under the "View Report" tab, click the "Export Data" button. Then in the dialog that opens, select the CSV (raw data) format and then click "Export Data".
Be careful with REDCap CSVs and MS Excel. Opening and saving a CSV within Excel can change the format of a file, which may cause problems when you upload. Specially, double check the format of any date fields. NACC only accepts
mm/dd/yyyy
,mm-dd-yyyy
,yyyy/mm/dd
,yyyy-mm-dd
formats.
As an alternative, you can automate the export with a script that uses the REDCap API. If you have access to the API, you can use the "API Playground" within the project to find ways to pull the report using different languages. If you use this approach, you can also transfer the data directly into the NACC Data Platform using one of the programmatic upload options.
Submitting the exported file
To submit files through the Portal, select Bulk File Upload, and then click the Go to Bulk Upload button.
This will open an uploader page that allows either dragging and dropping a file or opening a file chooser dialog.
Click the Upload button when you are done adding files. If the file suffix does not match with the format listed above, it will be rejected.
Submitting new visits or modifications
When you have new visits to upload or need to make modifications to any existing visits, it is recommended to only submit those new visits or modified visits. Re-submitting the entire set of participant visits each time (including the ones that are already validated and finalized), will increase the processing time.