get_state_data | R Documentation |
Get USGS data based for a single state with specific aquifer codes.
get_state_data(state, aquiferCd, startDate, endDate, parameter_cd = "72019")
state |
character. Can be state abbreviation, long name, or numeric code. |
aquiferCd |
character. To see valid aquifer codes, see the included data
frame |
startDate |
date or string. Beginning date of when to pull data. |
endDate |
date of string Ending date to pull data. |
parameter_cd |
5-digit character USGS parameter code. Default is "72019". |
end_date <- "2021-01-01"
start_date <- "1989-12-31"
aquiferCd <- "S100CSLLWD"
st_data <- get_state_data("WI", aquiferCd,
start_date, end_date)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.