r2dii.analysis 0.5.0
CRAN release: 2025-02-13
New features
-
data_dictionarydataset added to define the columns in each dataset used or exported by the functions in this package (#521).
Other
- @jacobvjk is now the maintainer (#519).
r2dii.analysis 0.4.0
CRAN release: 2024-03-26
-
target_market_sharenow outputstarget_*value for allyears inscenario(#481). - Complete deprecation of
aldin favour ofabcd(#466). -
target_market_sharenow correctly handles input scenarios with a hyphen in their name (#425). -
target_market_sharenow handlesabcdwith rows whereproductionisNAby filling with0(#423).
r2dii.analysis 0.2.1
CRAN release: 2022-11-03
-
r2dii.analysishas transferred to a new organization: https://github.com/RMI-PACTA/.
r2dii.analysis 0.2.0
CRAN release: 2022-05-05
New argument
abcdoftarget_market_share()andtarget_sdasupersedes the argumentald(#404).target_sda()now only outputs data forsectorvalues that are in all three input datasets (data,aldandco2_intensity_scenario) (#390).target_sda()now outputs unweightedemission_factorifby_companyisTRUE(#376).target_sda()gainsregion_isosargument (#323).target_market_share()now only outputs values for years that are in bothaldandscenarioinputs (#394).target_market_share()now outputs two new columns,percentage_of_initial_production_by_scopeandscope(ADO #4143).
r2dii.analysis 0.1.12
CRAN release: 2021-08-18
target_market_share()now outputs 0technology_share, for companies with 0 sectoral production (#306 @Antoine-Lalechere).target_sda()now filtersscenariostart year to be consistent withaldstart year (#346 @waltjl).
r2dii.analysis 0.1.10
CRAN release: 2021-07-09
target_market_share()now sets all negativesmsptargets to zero (#336).target_market_share()now only outputssectors that are present in all input datasets (#329).target_market_share()now always adds targets for green technologies (defined byr2dii.data::green_or_brown), even when not present in inputdata(#318 @Antoine-Lalechere).target_market_share()now correctly groups byregionwhen calculatingtechnology_share(#315 @Antoine-Lalechere).
r2dii.analysis 0.1.9
CRAN release: 2021-06-30
target_sda()now only outputssectorvalues that are present in the inputco2_intensity_scenariodata (#308).target_sda()now outputs targets for the range of years in the inputco2_intenstiy_scenario(#307).
r2dii.analysis 0.1.8
CRAN release: 2021-05-22
target_market_share()now correctly outputs targettechnology share, in line with methodology (@georgeharris2deg #277).target_market_share()now correctly projects technology share as ‘production / total production’ when computing by company, unweighted by relative loan size (@KapitanKombajn #288).target_market_share()no longer outputs columnssector_weighted_productionortechnology_weighted_production. Those columns are internal so they shouldn’t face users (#291).
r2dii.analysis 0.1.6
CRAN release: 2021-03-10
-
target_market_share()now correctly outputstechnology_sharewith multiple loans at differentlevelto the same company (@ab-bbva #265).
r2dii.analysis 0.1.5
CRAN release: 2021-01-22
target_market_share()now errors if inputdatahas an unexpected column (@georgeharris2deg #267).target_market_share()now correctly outputstechnology_sharewith multiple loans to the same company (@georgeharris2deg #262, @ab-bbva #265).
r2dii.analysis 0.1.4
CRAN release: 2021-01-05
-
target_market_share()now correctly outputs unweighted production by company, equal to ald-production for one company with multiple loans of different size (#255 @georgeharris2deg).
r2dii.analysis 0.1.3
CRAN release: 2020-12-15
-
target_market_share()now correctly outputs unweighted production when multiple levels exist for the same company (#249).
r2dii.analysis 0.1.2
CRAN release: 2020-12-05
target_market_share()now outputsweighted_technology_sharethat correctly sums to 1 when grouped bysector,metricandscenario(#218).target_market_share()now correctly outputs unweighted production when multiple loans exist for the same company (#239).target_market_share()now outputs empty named tibble if no matching region definitions can be found (#236).target_market_sharenow outputs all technologies present inald, even if they are not present indata(#235).target_sda()now interpolates input scenario file by year and correctly calculates target, regardless of the time-horizon ofald(#234).Hyperlinks on the “Get Started” tab of the website now points to correct links (#222 @apmanning).
Depend on dplyr >= 0.8.5, explicitly. We commit to this version because the newer dplyr 1 is still relatively new, and represents a major change which some users initially resist.
Relax dependency on rlang, as it is mostly driven dynamically by the by our recursive dependencies. For example, dplyr 0.8.5 depends on a specific version of rlang that is more recent than the version we explicitly depended on – which suggests that being explicit about rlang is unhelpful and misleading.
New internal data
loanbook_stableandregion_isos_stablemake regression tests more stable (#227).
r2dii.analysis 0.1.1
CRAN release: 2020-09-12
Change license to MIT.
The website’s home page now thanks founders.
target_market_share()now works as expected when some value of the columnscenariois missing for some value of the columnregion. It no longer results in output columnsproductionandtechnology_shareof type “list” (#203).The website now shows the News tab.
r2dii.analysis 0.1.0
CRAN release: 2020-09-03
target_sda()now correctly handles differingcountry_of_domicileinputs (#171).target_market_share()now outputstechnology_share(#184).join_ald_scenario()now returns visibly with dev-magrittr (#188 @lionel-).target_market_share()gainsweight_productionparameter (#181).target_market_share()now correctly usesector_aldcolumn from inputdataargument (#178).target_sda()now automatically filters outaldrows where theemissions_factorvalues areNA(#173).join_ald_scenario()now converts to lower case the values of the columnssector_aldandtechnology(#172).target_sda()now aggregates inputaldbytechnologyandplant_locationprior to calculating targets (@QianFeng2020 #160).target_sda()now errors if input data has any duplicatedid_loan(@QianFeng2020 #164).target_sda()gainsby_companyparameter (#155).target_market_share()now outputs the actual aggregated corporate economy. Previously, the output would, erroneously, be normalized to the starting portfolio value (#158).target_sda()now correctly calculates SDA targets (#153): Targets are now calculated using scenario data that is adjusted to corporate economy data. The adjusted scenario data is also output by the function along with the usual metrics. Methodology error fixed, and reflected in the code. Previously, the target was, incorrectly, calculated by multiplying the adjusted scenario. Now the scenario data is added instead.New
summarize_weighted_percent_change()allows user to calculate a new indicator (#141).target_market_share()no longer errors if the combination ofsectorandscenario_target_valuedoes not uniquely identify an observation (@georgeharris2deg #142).
