costsProductionCrops: costsProductionCrops

View source: R/costsProductionCrops.R

costsProductionCropsR Documentation

costsProductionCrops

Description

Reads data to calculate production costs for crops, costs related with investments are reported as annual average for both types (annuity, investment).

Usage

costsProductionCrops(
  gdx,
  file = NULL,
  level = "regglo",
  type = "investment",
  dir = "."
)

Arguments

gdx

GDX file

file

a file name the output should be written to using write.magpie

level

Level of regional aggregation; "reg" (regional), "glo" (global), "regglo" (regional and global) or any other aggregation level defined in gdxAggregate

type

Type of reporting, either "annuity" or total "investments"

dir

directory with mapping for disaggregation to higher resolutions

Value

A MAgPIE object containing values related with costs for crops production per ton produced [million US$05/tDM]

Author(s)

Edna Molina Bacca

Examples

## Not run: 
x <- costsProductionCrops(gdx)

## End(Not run)


pik-piam/magpie4 documentation built on April 27, 2024, 2:12 p.m.