wiDB_sites {isoWater} | R Documentation |
Obtain information on wiDB sites using a query
Description
Obtain information on wiDB sites using a query
Usage
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 template. |
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
#Find all sites with tap water data since September, 2019
sites = wiDB_sites(minDate = "2019-09-01", types = "Tap")