Description Usage Arguments Value
This function takes a vector of CPC codes and returns a data.table with the corresponding production/yield/area harvested codes for those commodities.
1 | getYieldCodes(itemCode)
|
itemCode |
A character vector of CPC codes. |
A data.table with the passed CPC codes as well as the corresponding element codes for the production, yield, and area harvested elements. In addition, "factor" is returned, and this satisfies the formula
Yield = Production / (Area Harvested) * factor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.