Skip to content

Commit

Permalink
Fix bug in toolGetMapping
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoch94 committed Jul 13, 2023
1 parent 0ab2e6c commit 9017ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/toolGetEUcountries.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# These countries are the ones (essentiall the EU-27) that receive special treatment
# in the SSP2EU scenario.
toolGetEUcountries <- function(onlyWithARIADNEgdpData = FALSE) {
x <- toolGetMapping("regionmappingH12.csv", where = "mappingfolder") %>%
x <- toolGetMapping("regionmappingH12.csv", type = "regional", where = "mappingfolder") %>%
tibble::as_tibble() %>%
dplyr::filter(.data$RegionCode == "EUR", .data$CountryCode != "GBR") %>%
dplyr::pull(.data$CountryCode)
Expand Down

0 comments on commit 9017ba2

Please sign in to comment.