-
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
Add subroutines and reduce code duplication [sub-daily CDM lite] #7
Labels
Comments
Next bit is the QC tables codes, and then another go through to find any last bits that could be combined. |
rjhd2
added a commit
that referenced
this issue
Feb 21, 2022
rjhd2
added a commit
that referenced
this issue
Feb 21, 2022
rjhd2
added a commit
that referenced
this issue
Feb 21, 2022
rjhd2
changed the title
Add subroutines and reduce code duplication
Add subroutines and reduce code duplication [sub-daily CDM lite]
Feb 21, 2022
Have added a number of functions to process the dataframes. Much shorter code. Futher shortening could be done by using a loop across all variables, but this has not been done so far - in order to keep legibility for the coders. Will be addressed in #22 |
rjhd2
added a commit
that referenced
this issue
Feb 21, 2022
This was referenced Mar 24, 2022
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Lots of duplicated code. Handle each variable in a separate subroutine, and then pull out identical code snippets where possible into further subroutines.
Preparation for using look-up dictionaries etc for some of the conversions.
The text was updated successfully, but these errors were encountered: