-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
etl redcap-det: store REDCap records as a list instead of single dict
This supports REDCap projects with repeating instruments and/or events. The REDCap API returns multiple instances per record id if there are repeating instruments/events in the project. Group all of these instances into a single list that then gets passed to the custom ETL. How these multiple instances get processed will be completely decided by the custom ETL since they are expected to be handled differently per project. Also remove `required_instrument` parameter from core. By supporting multiple record instances per record, the core ETL decorator no longer has oversight of whether required instruments are complete. This responsibility is now pushed to the custom REDCap ETLs.
- Loading branch information
1 parent
c0a517f
commit 4012200
Showing
1 changed file
with
12 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters