nassqs_byfips {rnassqs} | R Documentation |
Allow querying for a given set of counties based on FIPS.
Description
This wrapper allows specifying a list of counties by FIPS code. It iterates over each state in the list of FIPS, downloading for each separately and then concatenating.
Usage
nassqs_byfips(fips, ...)
Arguments
fips |
a list of 5-digit fips codes |
... |
either a named list of parameters or a series of parameters to form the query |
Value
a data.frame of data for each fips code
Examples
## Not run:
nassqs_byfips(
fips = c("19001", "17005", "17001"),
commodity_desc = "CORN",
year = 2019,
statisticcat_desc = "YIELD")
## End(Not run)
[Package rnassqs version 0.6.3 Index]