Package 'wd4tx'

Title: Access 'TWDB' Water Data For Texas
Description: An R interface to the Texas Water Development Board ('TWDB') Water Data for Texas website <https://www.waterdatafortexas.org>.
Authors: Michael Schramm [aut, cre], Texas Water Resources Institute [cph]
Maintainer: Michael Schramm <[email protected]>
License: MIT + file LICENSE
Version: 0.0.0.9000
Built: 2024-08-27 03:05:55 UTC
Source: https://github.com/TxWRI/wd4tx

Help Index


Download 'TWDB' Coastal Geographic Boundaries

Description

Download 'TWDB' Coastal Geographic Boundaries

Usage

download_coastal_geometry(type, opts = list())

Arguments

type

character, required. One of c("basin", "bay", "estuary", "sub_watershed", "watershed")

opts

list of curl options passed to crul::HttpClient()

Value

simple features data_frame


Download 'TWDB' Historical Bay and Estuary Freshwater Inflow Data

Description

Download 'TWDB' Historical Bay and Estuary Freshwater Inflow Data

Usage

download_coastal_hydrology(geoid, resample = NULL, opts = list())

Arguments

geoid

character, required.

resample

character, optional. By default, data is returned in daily interval. Specify one of c("month", "year") to get monthly or yearly summed values.

opts

list of curl options passed to crul::HttpClient()

Value

tibble


Download 'TWDB' Coastal Measurement Data

Description

Download 'TWDB' Coastal Measurement Data

Usage

download_coastal_site_data(
  station,
  parameter,
  start_date,
  end_date,
  binning = "day",
  opts = list()
)

Arguments

station

character, required.

parameter

character, required.

start_date

character, required. Format must be yyyy-mm-dd.

end_date

character, required. Format must be yyyy-mm-dd.

binning

character. One of "mon", "day", "hour". Default is "day"

opts

list of curl options passed to crul::HttpClient()

Value

tibble

Examples

download_coastal_site_data(station = "MIDG", parameter =
  "seawater_salinity", start_date = "2010-01-01", end_date = "2010-12-31",
  bin = "hour")

Download 'TWDB' Coastal Station Parameters

Description

Download 'TWDB' Coastal Station Parameters

Usage

download_coastal_site_parameters(station)

Arguments

station

character, required.

Value

tibble


Download 'TWDB' Coastal Station Information

Description

Download 'TWDB' Coastal Station Information

Usage

download_coastal_sites(all_stations = FALSE, opts = list())

Arguments

all_stations

logical. Defaults is FALSE. If FALSE, returns all stations for which actual data is available. If TRUE, returns all stations regardless of data availability.

opts

list of curl options passed to crul::HttpClient()

Value

tibble


Download 'TWDB' Lake Evaporation and Precipitation Data

Description

Download 'TWDB' Lake Evaporation and Precipitation Data

Usage

download_lep(
  quad = "710",
  start_date = "2010-01",
  end_date = "2018-12",
  opts = list()
)

Arguments

quad

required character. TWDB quad number.

start_date

required character. Start date of data. Specified as 4-digit year and 2-digit month. YYYY-MM

end_date

required character. End date of data. Specified as 4-digit year and 2-digit month. YYYY-MM

opts

list of curl options passed to crul::HttpClient()

Value

tibble


Download "TWDB" Reservoir Data

Description

Download "TWDB" Reservoir Data

Usage

download_reservoir(
  aggregate_by = NULL,
  region_name = NULL,
  reservoir = NULL,
  period = "historical",
  opts = list()
)

Arguments

aggregate_by

optional character. One of c("statewide", "planning region", "basin", "municipal", "climate region"). Defaults to NULL.

region_name

optional character. Documentation comming soon.

reservoir

optional character. Documentation soon.

period

optional character. Documentation soon

opts

list of curl options passed to crul::HttpClient()

Value

dataframe


Download "TWDB" Individual Well Data

Description

Download "TWDB" Individual Well Data

Usage

download_well(state_well_nmbr, opts = list())

Arguments

state_well_nmbr

required character. State well number.

opts

list of curl options passed to crul::HttpClient()

Value

dataframe


Download "TWDB" Well Metadata

Description

Download "TWDB" Well Metadata

Usage

download_well_meta(opts = list())

Arguments

opts

list of curl options passed to crul::HttpClient()

Value

sf