hy_test_db: Get the location of the HYDAT database

Description Usage Value See Also Examples

View source: R/hy_db.R

Description

The full HYDAT database needs to be downloaded from download_hydat, but for testing purposes, a small test database is included in this package. Use hydat_path = hy_test_db() in hy_* functions to explicitly use the test database; use hydat_path = hy_downloaded_db() to explicitly use the full, most recent downloaded database (this is also the path returned by hy_default_db()).

Usage

1
2
3
4
5

Value

The file location of a HYDAT database.

See Also

hy_src, hy_set_default_db.

Examples

1
2
3
4
5
6
## Not run: 
hy_test_db()
hy_downloaded_db()
hy_default_db()

## End(Not run)

ropensci/tidyhydat documentation built on Sept. 20, 2021, 11:50 a.m.