getCountrySpecificSeedRate: Function to load the country specific rate data

Description Usage Details Value

View source: R/getCountrySpecificSeedRate.R

Description

This function grabs data from the specific_seed_rate table in the ess schema in the database and applies a few simple operations to it (renames columns, converters dimensions to characters, and sets all flags that aren't "E" to ""). These rates are provided at the commodity-country level as opposed to commodity level in getCountrySpecificSeedRate().

Usage

1

Details

The seed rates that are pulled from the database are assumed to be official values. That is, the observation status flags of all of these observations are set to "".

Value

The data.table object with specific seed rate data.


SWS-Methodology/faoswsSeed documentation built on Nov. 21, 2020, 5:43 p.m.