These scripts were created to generate basin delineations and other value-added products from Water Survey of Canada hydrometric stations.
download the latest build from the /built subdirectory and from your R session type:
devtools::install_local(<path to *.tar.gz>)
Most dependencies will download automatically provided that you install using devtools::install_local
from a built *.tar.gz
file. Others will need to be downloaded and installed manually such as HYDAT
The R package consists of the following files:
station_names.R: Functions to parse hydrometric station names and
basin_creation.R: Relies on above files to create basin delineations from a few input parameters such as station names/numbers and coordinates
upstReam.R: Used to construct and query large matrices describing upstream/downstream hydrometric station relationships
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.