-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
UN SDG - bulk import of UN SDG code #6
Merged
Merged
Conversation
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
…() function to actually keep the keep_paths
…the date the raw data file was last modified
… units in a more readable way
…g, adding reset_index back, reserving all caps for globals vars
…r_and_series() function considerably by passing it a pre-made dict rather than invoking each time the function is run - which is a lot
…have to be created inside function
…sert instead to check no duplicates of years and countries in datapoint output
…eries 10.c.1 - SI_RMT_COST_BC. Values are not unique to country-year pairs as they describe relationships between pairs of nations so a nation can appear multiple times in the same year
…kipping some tricky variables and zippint datapoints using absolute path
…e with a minor raw data update and bug fix
…xible and works when keep_paths is longer than 1
… previous 'un_sdg' rather than just most recent
…m keep_paths as it has been moved to CONFIGPATH
Ignore the failing CI checks for now, btw. They won't mean anything until the other PR gets merged. After that, they will begin offering more useful error messages. |
…nning into issues with the database unique key being based around code and databaseId
… switching this back. May need to revisit in future bulk updates
…nput and output data
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.
Code for the bulk upload the UN Sustainable Development Goals data.
Data is downloaded from the SDG API
Code takes about two hours to run from scratch.