Skip to content

Commit

Permalink
remove usage of green_or_brown
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhoffa committed Jul 19, 2023
1 parent 8dd4345 commit 5d56c40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/join_abcd_scenario.R
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ check_portfolio_abcd_scenario <- function(valid_matches, abcd, scenario) {
}

add_green_technologies_to_abcd <- function(data, scenario) {
green_techs <- r2dii.data::green_or_brown %>%
filter(.data$green_or_brown == "green") %>%
select(-all_of("green_or_brown"))
increasing_techs <- r2dii.data::increasing_or_decreasing %>%
filter(.data$increasing_or_decreasing == "increasing") %>%
select(-all_of("increasing_or_decreasing"))

green_techs_in_scenario <- scenario %>%
select(all_of(c("sector", "technology"))) %>%
Expand Down

0 comments on commit 5d56c40

Please sign in to comment.