expandMeatSessionSelection: This function expands the current selection in the session to...

View source: R/expandMeatSessionSelection.R

expandMeatSessionSelectionR Documentation

This function expands the current selection in the session to include all necessary meat.

Description

This function expands the current selection in the session to include all necessary meat.

Usage

expandMeatSessionSelection(oldKey, selectedMeatTable,
  areaVar = "geographicAreaM49", itemVar = "measuredItemCPC",
  elementVar = "measuredElement", yearVar = "timePointYears")

Arguments

oldKey

The current key used in the session

selectedMeatTable

animalMeatMapping The mapping returned by the getAnimalMeatMapping

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 new DatasetKey object expanded to include the meat selection specified.


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