-
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 returned 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 useful 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
bd20ba9
commit 84616dc
Showing
95 changed files
with
1,865 additions
and
2,650 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,12 +1,14 @@ | ||
# 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(GDPuc) | ||
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.