View source: R/wiDBfunctions.R
wiDB_sites | R Documentation |
Obtain information on wiDB sites using a query
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)
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. |
One or more arguments must be provided.
dataframe. Contains location and summary information for all wiDB sites returned by query. See here for details.
#Find all sites with tap water data since September, 2019
sites = wiDB_sites(minDate = "2019-09-01", types = "Tap")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.