productionFormulaParameters: Parameter for formulas

View source: R/productionFormulaParameters.R

productionFormulaParametersR Documentation

Parameter for formulas

Description

Parameter for formulas

Usage

productionFormulaParameters(datasetConfig, productionCode = "5510",
  areaHarvestedCode = "5312", yieldCode = "5416", unitConversion = 1)

Arguments

datasetConfig

The dataset configuration returned by the function GetDatasetConfig

productionCode

The element code corresponding to the production variable.

areaHarvestedCode

The element code corresponding to the area harvested variable.

yieldCode

The element code corresponding to the yield variable.

unitConversion

The unit conversion between the triplet code provided.

Details

Below is a description of the parameters:

  • productionValue: The column name of the production variable.

  • productionObservationFlag: The column name of the observation flag corresponding to the production variable.

  • productionMethodFlag: The column name of the method flag corresponding to the production variable.

  • yieldValue: The column name of the yield variable.

  • unitConversion: The unit conversion between the triplet code provided.

  • yieldObservationFlag: The column name of the observation flag corresponding to the yield variable.

  • yieldMethodFlag: The column name of the method flag corresponding to the yield variable.

  • areaHarvestedValue: The column name of the area harvested variable.

  • areaHarvestedObservationFlag: The column name of the observation flag corresponding to the area harvested variable.

  • areaHarvestedMethodFlag: The column name of the method flag corresponding to the area harvested variable.

  • unitConversion The unit conversion applied in the formula

Value

Returns a list of the formula parameters used in the data pre-processing algorithm.


SWS-Methodology/faoswsProduction documentation built on March 21, 2023, 8:27 p.m.