upkeep: clean up add_green_technologies_to_abcd()
#497
Labels
upkeep
maintenance, infrastructure, and similar
add_green_technologies_to_abcd()
#497
r2dii.analysis/R/join_abcd_scenario.R
Line 168 in d5c0a15
green_rows_to_add()
uses asummarize
call to obtain the distinct rows of the abcd, usingdplyr::distinct
is more appropriateleft_join
is used to expand the abcd by missing low carbon technologies. this adds rows withNA
values for all technologies that are not missing. There does not seem to be a reason for that, so aninner_join
would be more adequate.The text was updated successfully, but these errors were encountered: