#' Capacities from the Global Power Plant Database
#' @param x MAgPIE object to be converted
#' @return Magpie object, country capacities (MW) from the Global Power Plant Database for different fuels.
#' @author Aman Malik
convertGPPD <- function(x){
# x <- readSource("GPPD",convert = F)
x <- toolCountryFill(x,fill = 0)# data available for 164 countries. For countries with no data, put value as zero
getYears(x) <- 2017
return(x)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.