View source: R/getNassAPI_funs.R
Downloads NASS crop data by requested county, program source. Intended to retrieve all of the field crop data for a county, to be parsed by user.
1 2 | getNassCounty_fc(apiKey, program = "CENSUS", sector = "CROPS",
group = "FIELD CROPS", state, county)
|
apiKey |
Personal key; Obtained from http://quickstats.nass.usda.gov/api |
program |
'CENSUS' or 'SURVEY' |
sector |
ie 'CROPS' |
group |
ie 'FIELD CROPS' |
state |
state 2 digit fips |
county |
county 3-digit ANSI code |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.