hydat_find_stations: Find HYDAT Data Stations

Description Usage Arguments Value Examples

Description

Find HYDAT Data Stations

Usage

1
hydat_find_stations(x, year = NULL, limit = 10, db = hydat_get_db())

Arguments

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)

Value

A data.frame (tibble) of station information

Examples

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)

paleolimbot/hydatr documentation built on May 3, 2019, 5:49 p.m.