Skip to content

Commit

Permalink
Try using original data format
Browse files Browse the repository at this point in the history
  • Loading branch information
r-ash committed Nov 7, 2024
1 parent f75a2bb commit f13a307
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions R/input-comparison.R
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,5 @@ prepare_spectrum_naomi_comparison <- function(art, anc, shape, pjnz){
comparison_df <- rbind(art_comparison, anc_comparison)
}

comparison_df |>
dplyr::select(indicator, area_name, year, group,
spectrum = value_spectrum, naomi = value_naomi, difference) |>
tidyr::pivot_longer(
c(spectrum, naomi, difference),
names_to = "data_source"
) |>
tidyr::drop_na(value)
comparison_df
}

0 comments on commit f13a307

Please sign in to comment.