View source: R/quarterly_service.R
get_quarterly_summary_in_state | R Documentation |
Get quarterly summary data in a state.
get_quarterly_summary_in_state( bdate, edate, state.fips, param, 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. |
param |
Pollutant parameter that site is measuring. |
cbdate |
Beginning date of last change to DB. (Optional) |
cedate |
Ending date of last change to DB. (Optional) |
API response containing quarterly summary data for a state.
## Not run: bdate <- "20200101" edate <- "20200102" state.fips <- "37" param <- "42401" result <- get_quarterly_summary_in_state(bdate, edate, state.fips, param) result$Data ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.