Skip to contents

Make a request to the groundwater/waterlevels/wells endpoint to retrieve groundwater water level wells data.

Usage

get_gw_wl_wells(
  county = NULL,
  designated_basin = NULL,
  division = NULL,
  management_district = NULL,
  water_district = NULL,
  wellid = NULL,
  api_key = NULL
)

Arguments

county

character, indicating the county to query

designated_basin

character, indicating the designated basin to query

division

numeric, indicating the water division to query

management_district

character, indicating the management district to query

water_district

numeric, indicating the water district to query

wellid

character, indicating the Well ID to query

api_key

character, API authorization token, optional. If more than maximum number of requests per day is desired, an API key can be obtained from CDSS.

Value

dataframe of groundwater wells within the given query specifications

Examples

if (FALSE) {
# Request endpoint: api/v2/groundwater/waterlevels/wells/
wl_wells <- get_gw_wl_wells(
  county = "ADAMS"
 )

plot(wl_wells$latitude~wl_wells$longitude)
}