Improves form merging, cli output, & table mapping#67
Merged
Conversation
- Now also checks which columns in the mapping file are not contained in the REDCap input - this is useful especially when there are updates to the REDCap schema
- Reduces read_csv verbosity by setting show_col_types to False - Adds header & cleans get_overflow_mapping_table cli output
- Updates cli output accordingly - Adds incomplete key (previously hard-coded) & notes_cols to config file
- The way uncertainty is captured in REDCap has been updated and an improved mapping is now possible - Uses raw col names to be consistent with previous mapping
- These have been replaced with different columns following the uncertainty capturing update in REDCap
- Parameter uncertainty - single type & Parameter uncertainty - single value were swapped
sangeetabhatia03
approved these changes
Apr 17, 2025
Collaborator
sangeetabhatia03
left a comment
There was a problem hiding this comment.
thanks @tristan-myles
The changes look very good; I have not checked the code or the outputs, just made sure the tasks ran for me and the output messages made sense.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds smarter merging of articles when there are form continuations.
Updates the mapping_table using Zika raw column names, reflecting the REDCap uncertainty-capturing update.
Fixes Pathogen filtering bug - NA pathogen columns were erroneously included.
Improves cli output of prepare_redcap.