Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhoffa committed Jul 19, 2023
1 parent f374471 commit 2b8b259
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/summarize_weighted_production.R
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ add_percent_change <- function(data) {
first(.data$sector_production) * 100
) %>%
mutate(percent_change = dplyr::case_when(
increasing_percent_change == "increasing" ~ increasing_percent_change,
increasing_percent_change == "decreasing" ~ decreasing_percent_change
increasing_or_decreasing == "increasing" ~ increasing_percent_change,
increasing_or_decreasing == "decreasing" ~ decreasing_percent_change
)) %>%
select(one_of(c(names(data), "percent_change"))) %>%
ungroup()
Expand Down

0 comments on commit 2b8b259

Please sign in to comment.