View source: R/daily_summary_service.R
get_daily_summary_in_state | R Documentation |
Returns daily data at the state level.
get_daily_summary_in_state( bdate, edate, state.fips, 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. |
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 |
Change begin date. (Optional) |
cedate |
Change end date. (Optional) |
API response containing daily data.
## Not run: param <- 44201 bdate <- 20170618 edate <- 20170618 state <- 37 result <- get_daily_summary_in_state(bdate, edate, state, param) result$Data ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.