Description Usage Arguments Value Examples
This function classifies the cpc code in "Consumable, main", "Non-Consumable" or "Consumable, residual".
1 | getCommodityClassification(cpcCodes)
|
cpcCodes |
A character vector containing the CPC codes. |
A character vector whose ith element is the food classification corresponding to the passed CPC code in position i. If no valid cpc code is found, an NA is returned in this place.
1 2 3 4 | ## Not run:
getCommodityClassification(c("0111", "23110", "F0020"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.