getProductionData: Get Production Data

Description Usage Arguments Value

Description

This function returns the production data currently in the database for a particular DatasetKey. It also performs a few clean-up operations on the data before directly returning.

Usage

1
2
3
getProductionData(dataContext, areaVar = "geographicAreaM49",
  itemVar = "measuredItemCPC", elementVar = "measuredElement",
  yearVar = "timePointYears")

Arguments

dataContext

An object of type DatasetKey (defined in faosws). This parameter provides the configuration of the dataset (i.e. which countries, commodities, etc.).

areaVar

The column name of the country code column.

itemVar

The column name of the commodity code column.

elementVar

The column name of the element code column.

yearVar

The column name of the year column.

Value

A list of length 3:


ncwanner/Production_Validation documentation built on May 8, 2019, 1:48 p.m.