calcValidTrade: calcValidTrade

View source: R/calcValidTrade.R

calcValidTradeR Documentation

calcValidTrade

Description

calculates the validation data for trade of agricultural products

Usage

calcValidTrade(
  datasource = "FAO",
  detail = TRUE,
  nutrient = "dm",
  net_trade = TRUE,
  equalized = TRUE
)

Arguments

datasource

Datasource of validation data.

detail

if FALSE, only larger product categories are reported

nutrient

The nutrient in which the results shall be reported.

net_trade

Net trade flows or total trade

equalized

numbers changed so that global production meets global demand (in reality different because of time-delay between exports and imports)

Value

List of magpie objects with results on country level, weight on country level, unit and description.

Author(s)

Benjamin Leon Bodirsky, Xiaoxi Wang, David M Chen

See Also

calcFAOmassbalance, calcValidDemand

Examples

## Not run: 
calcOutput("ValidTrade")

## End(Not run)


pik-piam/mrvalidation documentation built on April 15, 2024, 8:19 p.m.