R/readTransportCostsGTAP.R

Defines functions readTransportCostsGTAP

Documented in readTransportCostsGTAP

#' 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)
}
pik-piam/mrcommons documentation built on Dec. 8, 2024, 7:23 a.m.