denormalise: This function denormalise data in the SWS format

Description Usage Arguments Value

Description

This function denormalise data in the SWS format

Usage

1
2
3
4
5
denormalise(normalisedData, denormaliseKey, areaVar = "geographicAreaM49",
  itemVar = "measuredItemCPC", elementVar = "measuredElement",
  yearVar = "timePointYears", flagObsVar = "flagObservationStatus",
  flagMethodVar = "flagMethod", valueVar = "Value",
  fillEmptyRecords = FALSE)

Arguments

normalisedData

normalised data to be denormalise

denormaliseKey

The key/variable that will be denormalised.

areaVar

The column name corresponding to the geographic area.

itemVar

The column name corresponding to the commodity item.

elementVar

The column name corresponds to the measured element.

yearVar

The column name corresponds to the time dimension.

flagObsVar

The column name corresponds to the observation status flag.

flagMethodVar

The column name corresponds to the method flag.

valueVar

The column name corresponds to the value columne.

fillEmptyRecords

logical, whether empty record created due to denormalisation should be replaced with missing value.

Value

The denormalised data


SWS-Methodology/faoswsUtil documentation built on May 9, 2019, 11:53 a.m.