getAnimalMeatMapping: This function retrieves the mapping between the parent...

View source: R/getAnimalMeatMapping.R

getAnimalMeatMappingR Documentation

This function retrieves the mapping between the parent (animal such as cattle) and child (meat such as meat of cattle).

Description

This function retrieves the mapping between the parent (animal such as cattle) and child (meat such as meat of cattle).

Usage

getAnimalMeatMapping(R_SWS_SHARE_PATH, onlyMeatChildren = FALSE,
  meatPattern = "^211(1|2|7).*")

Arguments

R_SWS_SHARE_PATH

The path to the shared drive on the SWS.

onlyMeatChildren

Whether only the meat children should be returned.

meatPattern

The regular expression corresponding to meat

Value

The mapping table


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