#' @title reportCostTC
#' @description reports MAgPIE TC costs
#'
#' @export
#'
#' @param gdx GDX file
#' @return magpie object with TC costs
#' @author David Chen
#' @examples
#' \dontrun{
#' x <- reportCostTC(gdx)
#' }
#'
#' @importFrom magpiesets reporthelper
#'
reportCostTC <- function(gdx) {
tcCost <- CostTC(gdx, level = "regglo")
getNames(tcCost) <- "Costs|TC (million US$2017/yr)"
return(tcCost)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.