View source: R/annual_summary_service.R
get_annual_summary_in_county | R Documentation |
Get annual summary data in a county.
get_annual_summary_in_county( bdate, edate, state.fips, county, param, cached = TRUE, cache_directory = "/cache", cbdate = NULL, cedate = NULL )
bdate |
Beginning date to check. Year, month, day format. |
edate |
Ending date to check. Year, month, day format. |
state.fips |
State FIPS code. Use get_state_fips() if unsure. |
county |
County code. Use get_counties_in_state() if unsure. |
param |
Pollutant parameter that site is measuring. |
cached |
TRUE or FALSE specifying if the data from the call is to be cached. Default: TRUE. (Optional) |
cache_directory |
Place inside user-level cache directory to store the cached data. Default: "/cache". (Optional) |
cbdate |
Beginning date of last change to DB. (Optional) |
cedate |
Ending date of last change to DB. (Optional) |
API response containing annual summary data in a county.
## Not run: bdate <- "20200101" edate <- "20200102" state.fips <- "37" county <- "001" param <- "42401" result <- get_annual_summary_in_county(bdate, edate, state.fips, county, param) result$Data ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.