getImputationParameters: Get Imputation Parameters

View source: R/getImputationParameters.R

getImputationParametersR Documentation

Get Imputation Parameters

Description

This function contains the logic that we'll use to define the imputation models and their parameters. .

Usage

getImputationParameters(productionCode, areaHarvestedCode, yieldCode,
  areaVar = "geographicAreaM49", itemVar = "measuredItemCPC",
  elementVar = "measuredElement", yearVar = "timePointYears")

Arguments

productionCode

The element code of production

areaHarvestedCode

The element code of area harvested

yieldCode

The element code of yield.

areaVar

The column name corresponding to the geographic area.

itemVar

The column name corresponding to the commodity item.

elementVar

The column name corresponding to the measured element.

yearVar

The column name corresponding to the time dimension

Value

A list with the yield and production imputation parameters.


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