Description Usage Arguments Value Examples
Find HYDAT Data Stations
1 | hydat_find_stations(x, year = NULL, limit = 10, db = hydat_get_db())
|
x |
A character vector of a place name (geocoded by geocode), or a numeric vector of length 2 (lon, lat). |
year |
Optional range of years that must be included in the station data |
limit |
This number of closest stations will be returned |
db |
The hydat database object to use (you will want to use hydat_load before using these functions) |
A data.frame (tibble) of station information
1 2 3 4 5 6 | hydat_load_test_db()
hydat_find_stations(c(-70.08, 46.55))
hydat_find_stations(c(-70.08, 46.55), year = 1988:1991)
hydat_find_stations("Daaquam, QC")
hydat_find_stations("Daaquam, QC", year = 1988:1991)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.