-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor and change default scenarios
Replace SSP2EU with a placeholder, as it no longer a desired scenario, but required in the input preparation pipeline. Remove completely in next release. Add ADB sources and scenarios (not returnde by default yet). Urban pop share scenarios are improved, so as to never exceed 1, even with bezier extensions. SSP labour scenarios are now also filled in with UN_popDiv data. SSP population scenarios now use short term growth rates from PEAP-UN_PopDiv, instead of PEAP-MI, improving the shorterm projections of the smaller countries. Refactor function arguments that did not comply with lintr rules (fixes #13). Mark "scenario.indicator" naming option as deprecated and remove in next release. Fix all linter warnings. Improve scenario documentation and references in vignette (fixes #56 and fixes #57). Improve and simplify documentation (fixes #16). Remove "unit" from most functions, assuming instead that the default dollar unit is used throughout the package. Clean up use of James data set for filling and backwards extension to 1960. These two functions are now cleanly separated from each other. Also, use of the James2019 dataset is dropped (fixes #62), due to the fact that there is no reference for this dataset. This does not affect the scenarios much since the dataset is mainly used for its growth rates, and they shouldn't differ to much. Refactor toolReduce and toolFillWith. toolFillWith now writes to the log which countries are filled in. Export some of the more usefull tool functions. Speed up bezier extension (fixes #78). Remove MI from future datasets and make it clear that we assume constant extrapolation for most of the MI countries. Fixes #52.
- Loading branch information
1 parent
15d6c7e
commit 70331a6
Showing
95 changed files
with
1,833 additions
and
2,644 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
# Generated by roxygen2: do not edit by hand | ||
|
||
export(toolGeneralConvert) | ||
export(toolGetScenarioDefinition) | ||
export(toolGetUnitDollar) | ||
export(toolHarmonizeFuture) | ||
export(toolHarmonizePast) | ||
exportPattern("^((calc(GDP|GDPpc|Population|Labour|Urban)(Past|Future|$))|read|download)") | ||
import(madrat) | ||
import(magclass) | ||
importFrom(glue,glue) | ||
importFrom(lifecycle,deprecate_soft) | ||
importFrom(magrittr,"%>%") | ||
importFrom(rlang,.data) |
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.