wiDB_sites: Obtain information on wiDB sites using a query

Description Usage Arguments Details Value Examples

View source: R/wiDBfunctions.R

Description

Obtain information on wiDB sites using a query

Usage

1
2
3
wiDB_sites(minLat = NULL, maxLat = NULL, minLong = NULL, maxLong = NULL,
  minElev = NULL, maxElev = NULL, minDate = NULL, maxDate = NULL, 
  countries = NULL, states = NULL, types = NULL, projects = NULL)

Arguments

minLat

numeric. Minimum latitude for query region, in decimal degrees. South negative.

maxLat

numeric. Maximum latitude for query region, in decimal degrees. South negative.

minLong

numeric. Minimum longitude for query region, in decimal degrees. West negative.

maxLong

numeric. Maximum longitude for query region, in decimal degrees. West negative.

minElev

numeric. Minimum elevation for query. Meters.

maxElev

numeric. Maximum elevation for query. Meters.

minDate

character. Minimum date for query. Format: "YYYY-MM-DD"

maxDate

character. Maximum date for query. Format: "YYYY-MM-DD"

countries

character. Vector of one or more two-letter country codes for query.

states

character. Vector of one or more two-letter state or province codes for query.

types

character. Vector of one or more sample types for query. See vocabulary in the wiDB tempate.

projects

character. Vector of one or more project codes for query.

Details

One or more arguments must be provided.

Value

dataframe. Contains location and summary information for all wiDB sites returned by query. See here for details.

Examples

1
2
#Find all sites with tap water data since September, 2019
sites = wiDB_sites(minDate = "2019-09-01", types = "Tap")

isoWater documentation built on July 21, 2021, 1:06 a.m.