-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updating codebase to produce selective editing outputs #160
base: main
Are you sure you want to change the base?
Conversation
- impute.py: Added spp to idbr mapping for back data, needed for SE outputs as we map on idbr formtype and imputation class - impute.py: Used f string to call target directly from config instead of assigning target variable - pivot_imputation_value.py: Added config as kwarg argument in create_imputation_link_output - produce_additional arguments.py: Added imputation class to required columns for additional outputs - selective_editing_contributor_output.py: Correctly filter input data for SE contributor file - selective_editing_contributor_output.py: Dropping columns not needed in SE outputs - selective_editing_question_output.py Merging on period for SE outputs, renaming to required column names - selective_editing.py: Removed converting to data time - back_data.py: formatting idbr formtype, converting back to idbr from spp formtype. copying cellno to cell number - test_main now removes created config after running - test_selective_editing: removing converting column to datetime object - test_back_data: copied over cell_no into cellnumber, updated order of columns, converted type of expected output to match output
- Expected duplicates due to forms containing q40 and q49 would produce same SE contributor row -Fixed typos in variable name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes look good and the unit tests pass, so happy for this to be merged in. The summary description of the changes were very useful except for one file not having any description of changes (commented below).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description for changes in this file in the summary.
Pull Request Title
Summary
Made a number of changes to code base to create selective editing out:
Add your summary here - keep it brief, to the point, and in plain English.
Type of Change
Checklists
This pull request meets the following requirements:
Creator Checklist
If you feel some of these conditions do not apply for this pull request, please
add a comment to explain why.
Reviewer Checklist
Additional Information
Please provide any additional information or context that would help the reviewer understand the changes in this pull request.
Related Issues
Link any related issues or pull requests here.