preProcessing: This function performs manipulation of the data that are...

View source: R/preProcessing.R

preProcessingR Documentation

This function performs manipulation of the data that are standard after the data is retrieved from the data base.

Description

This function performs manipulation of the data that are standard after the data is retrieved from the data base.

Usage

preProcessing(
  data,
  normalised = TRUE,
  dropNonExistingRecord = TRUE,
  denormalisedKey = "measuredElement"
)

Arguments

data

The data.table object

normalised

logical, whether the data is normalised

dropNonExistingRecord

logical, whether non existing records should be droped. Non-existing records are those having flagObservationStatus and flagMethod have the value NA. This can be generated from denormalising the data or occassionaly returned by the GetData function.

denormalisedKey

optional, only required if the input data is not normalised.It is the name of the key that denormalises the data.

Value

A data.table with standard pre processing steps performed.


SWS-Methodology/faoswsProcessing documentation built on June 24, 2024, 6:57 a.m.