tidyhydat (version 0.5.0)

search_stn_name: A search function for hydrometric station name or number

Description

Use this search function when you only know the partial station name or want to search.

Usage

search_stn_name(search_term, hydat_path = NULL)

search_stn_number(search_term, hydat_path = NULL)

Arguments

search_term

Only accepts one word.

hydat_path

The path to the hydat database or NULL to use the default location used by download_hydat. It is also possible to pass in an existing src_sqlite such that the database only needs to be opened once per user-level call.

Value

A tibble of stations that match the search_term

Examples

Run this code
# NOT RUN {
search_stn_name("Cowichan")

search_stn_number("08HF")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab