#' Read Transport Costs
#'
#' Read in Transport Costs from GTAP
#'
#'
#' @return Transport Costs in USD
#' @author David Chen
#' @seealso [readSource()]
#' @examples
#' \dontrun{
#' a <- readSource(type = "TransportCostsGTAP")
#' }
#'
readTransportCostsGTAP <- function() {
costs <- read.csv("transport_costs.csv", header = FALSE)
costs <- as.magpie(costs, spatial = NULL, temporal = NULL)
return(costs)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.