Description Usage Arguments Value Examples
View source: R/RAQSAPIlistfunctions.R
stable Returns a table of all counties in within the stateFIPS provided.
1 | aqs_counties_by_state(stateFIPS, return_header = FALSE)
|
stateFIPS |
a R character object which represents the 2 digit state
FIPS code (with leading zeros) for the state being
requested. @seealso |
return_header |
If FALSE (default) only returns data requested. If TRUE returns a AQSAPI_v2 object which is a two item list that contains header information returned from the API server mostly used for debugging purposes in addition to the data requested. |
a tibble or an AQS_Data Mart_APIv2 S3 object of all counties in the requested state.
1 2 3 4 | #returns a tibble all the counties
# in North Carolina the county FIPS codes (county codes) for
# each.
## Not run: aqs_counties_by_state(stateFIPS = "37")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.