r2dii.analysis 0.1.0
-
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 input
dataargument (#178). -
target_sda()now automatically filters outaldrows where the
emissions_factorvalues areNA(#173). -
join_ald_scenario()now converts to lower case the values of the columns
sector_aldandtechnology(#172). -
target_sda()now aggregates inputaldbytechnologyandplant_location
prior 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 ofsectorand
scenario_target_valuedoes not uniquely identify an observation
(@georgeharris2deg #142).