Package: hydrocan 0.0.2

Sam Albers

hydrocan: Unified Access to Canadian Hydrometric Data

Provides a unified interface for accessing diverse web-published hydrometric data sources across Canada, presenting users with consistent tabular output regardless of the underlying data source.

Authors:Sam Albers [aut, cre], Emily Haughton [ctb], Tula Foundation [fnd, cph], Canada Water Agency [fnd]

hydrocan_0.0.2.tar.gz
hydrocan_0.0.2.zip(r-4.7-any)hydrocan_0.0.2.zip(r-4.6-any)hydrocan_0.0.2.zip(r-4.5-any)
hydrocan_0.0.2.tgz(r-4.6-any)hydrocan_0.0.2.tgz(r-4.5-any)
hydrocan_0.0.2.tar.gz(r-4.7-any)hydrocan_0.0.2.tar.gz(r-4.6-any)
hydrocan_0.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
hydrocan/json (API)

# Install 'hydrocan' in R:
install.packages('hydrocan', repos = c('https://hakaiinstitute.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/hakaiinstitute/hydrocan/issues

Pkgdown/docs site:https://hakaiinstitute.github.io

On CRAN:

Conda:

5.00 score 1 stars 5 scripts 291 downloads 9 exports 31 dependencies

Last updated from:32e7352a99. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK116
source / vignettesOK180
linux-releaseOK115
macos-releaseOK94
macos-oldrelOK106
windows-develOK72
windows-releaseOK75
windows-oldrelOK74
wasm-releaseOK106

Exports:hc_citationhc_list_sourceshc_read_daily_flowshc_read_daily_levelshc_read_flowshc_read_levelshc_read_stationsnew_hydrocan_adapterregister_hydrocan_adapter

Dependencies:askpassbitbit64clicliprcpp11crayoncurldplyrgenericsgluehmshttr2lifecyclemagrittropensslpillarpkgconfigprettyunitsprogressR6readrrlangsystibbletidyselecttzdbutf8vctrsvroomwithr

Combining data from multiple sources
What sources are available? | Station metadata across all sources | Fetch data - router auto-detects the source | Combine with bind_rows (same schema, all sources) | Annual summary across providers | Explicit source bypasses the router

Last update: 2026-06-03
Started: 2026-06-03

The hydrocan adapter system
Overview | The adapter contract | Output schemas | Realtime (sub-daily) - fetch_flows_fn / fetch_levels_fn | Daily - fetch_daily_flows_fn / fetch_daily_levels_fn | Stations - list_stations_meta_fn | How the router works | Built-in adapters | Hydro-Quebec (hydroquebec) | Registration | Writing a new adapter | Step 1 - Implement the internal functions | Using a stored station list when no endpoint exists | Step 2 - Register the adapter | Step 3 - Add tests | What the schema validator will catch

Last update: 2026-06-03
Started: 2026-04-30