#' @title reportPriceBioenergy
#' @description reports bioenergy prices
#'
#' @export
#'
#' @param gdx GDX file
#' @return bioenergy price as MAgPIE object Unit: see names
#' @author Florian Humpenoeder
#' @examples
#'
#' \dontrun{
#' x <- reportPriceBioenergy(gdx)
#' }
#'
reportPriceBioenergy<-function(gdx){
x <- prices(gdx,level="regglo",products = c("begr","betr"),product_aggr = TRUE,attributes = "ge")
getNames(x) <- "Prices|Bioenergy (US$2017/GJ)"
return(x)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.