dictionaryLookup.ECOMS: Searches variable string in the dictionary

View source: R/dictionaryLookup.ECOMS.R

dictionaryLookup.ECOMSR Documentation

Searches variable string in the dictionary

Description

Searches variable string provided in the dictionary to map it in the vocabulary, in order to get all the necessary information for variable homogenization. It also includes a new column specifying the aggregation function to be applied (if any). This funciton is ECOMS-UDG specific.

Usage

dictionaryLookup.ECOMS(dicPath, derInterface, time)

Arguments

dicPath

Full path to the dictionary file (a csv file with extension ‘.dic’).

derInterface

A list as returned by deriveInterface

time

Time specification.

Details

The function is somewhat tricky when dealing with derived variables. It applies the time adjustment and homogenization/transformation steps indicated in the ‘original variable’, (i.e., the variable to be derived) but at the end replaces the shortName by that of the ‘leading variable’ (see deriveInterface for a description of this concept), in order to open an existing “GeoGrid”.

Value

A data.frame of 1 row with the mapping information

Author(s)

J. Bedia

References

http://meteo.unican.es/ecoms-udg/RPackage/homogeneization


SantanderMetGroup/loadeR.ECOMS documentation built on July 4, 2023, 4:29 a.m.