R/convertIEA_PVPS.R

Defines functions convertIEA_PVPS

Documented in convertIEA_PVPS

#' Convert IEA PVPS data from REMIND regions to iso countries
#' @description maps to iso countries
#' @param x MAgPIE object to be converted
#' @return Magpie object with IEA PVPS investment cost per country
#' @author Felix Schreyer

convertIEA_PVPS <- function(x) {
  regmapping <- toolGetMapping("regionmappingH12.csv", where = "mappingfolder", type = "regional")
  x_iso <- toolAggregate(x, regmapping)
  return(x_iso)
}
pik-piam/mrremind documentation built on April 12, 2025, 12:02 a.m.