readPVP: Read PVP ("Present value price") from GDX file

Description Usage Arguments Value Author(s) Examples

View source: R/readPVP.R

Description

Read PVP data of a certain commodity from a GDX file into a magpie object.

Usage

1
readPVP(gdx, level = "glo", enty = "good")

Arguments

gdx

a GDX list as created by readGDX, or the file name of a gdx file(file name is recommended as this speeds up the code)

level

spartiel resolution "glo" = global or "reg" = regional

enty

one of the traded commodities in REMIND: "good", "pecoal", "pegas", "peoil", "pebiolc", "peur", "perm"

Value

PVP data as MAgPIE object

Author(s)

Jonas Hoersch

Examples

1
2
3
4
5
  ## Not run: 
    coal <- readPVP(gdx, enty = "pecoal")
    gas <- readPVP(gdx, enty = "pegas")
  
## End(Not run)

pik-piam/remind documentation built on Sept. 9, 2021, 1:09 p.m.