hydat_download: Download the Hydat Database from Environment Canada

Description Usage Arguments Value Examples

View source: R/hydat_db.R

Description

Downloads the latest version of the Hydat Database from http://collaboration.cmc.ec.gc.ca/cmc/hydrometrics/www/. This package uses the zipped SQLite version of the database. The download is about 200 MB, and usually takes 5-10 minutes to download.

Usage

1
hydat_download(destination = ".", overwrite = NA, quiet = FALSE)

Arguments

destination

A filename or directory

overwrite

Should the destination file be overwritten? Use NA to skip downloading a previously downloaded file (the default).

quiet

If TRUE, download status messages will be suppressed.

Value

The filename of the downloaded file.

Examples

1
2
3
4
5
## Not run: 
# this usually takes around 10 minutes to run
hydat_download()

## End(Not run)

paleolimbot/hydatr documentation built on July 28, 2017, 12:17 a.m.