calcPrice: Calculates normalized prices of a commodity

Description Usage Arguments Value Author(s) Examples

View source: R/calcPrice.R

Description

Read PVP data of a certain commodity from a GDX file into a magpie object and normalize it with the 2005 goods price.

Usage

1
calcPrice(gdx, level = "glo", enty = "good", type = "nominal")

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

type

calculate present values (PVP(t)/PVP_Good(2005)) or nominal values(PVP(t)/PVP_Good(t))

Value

normalized price data as MAgPIE object

Author(s)

Niklas Roming

Examples

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

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