Skip to contents

Get USGS data based on aquiferCd

Usage

get_aquifer_data(aquiferCd, startDate, endDate, parameter_cd = "72019")

Arguments

aquiferCd

character. To see valid aquifer codes, see the included data frame local_aqfr.

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.

Examples

end_date <- "2021-01-01"
start_date <- "1989-12-31"

aquiferCd <- "S100CSLLWD"
# \donttest{
aq_data <- get_aquifer_data(aquiferCd, start_date, end_date)
#> Getting data from: Alabama
#> Getting data from: Florida
#> Getting data from: Louisiana
#> Getting data from: Mississippi
#> Getting data from: Texas
#> Calendar year being reported as water year in row(s) 68597, 68598, 68599
# }