{
  "_id": "6a27268024555f66ed52a5c8",
  "Package": "hydrocan",
  "Title": "Unified Access to Canadian Hydrometric Data",
  "Version": "0.0.1",
  "Authors@R": "c(person(\"Sam\", \"Albers\", email = \"sam.albers@hakai.org\", role = c(\"aut\", \"cre\")),\nperson(\"Tula Foundation\", , role = c(\"fnd\", \"cph\")),\nperson(\"Canada Water Agency\", , role = \"fnd\"))",
  "Description": "Provides a unified interface for accessing diverse\nweb-published hydrometric data sources across Canada,\npresenting users with consistent tabular output regardless of\nthe underlying data source.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/HakaiInstitute/hydrocan,\nhttps://hakaiinstitute.github.io/hydrocan/",
  "BugReports": "https://github.com/HakaiInstitute/hydrocan/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://hakaiinstitute.r-universe.dev",
  "Date/Publication": "2026-06-08 20:13:15 UTC",
  "RemoteUrl": "https://github.com/HakaiInstitute/hydrocan",
  "RemoteRef": "HEAD",
  "RemoteSha": "dcfa071bb3998dbe690b1391ac61a5f2f7e6a4cf",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-08 20:20:10 UTC",
    "User": "root"
  },
  "Author": "Sam Albers [aut, cre],\nTula Foundation [fnd, cph],\nCanada Water Agency [fnd]",
  "Maintainer": "Sam Albers <sam.albers@hakai.org>",
  "MD5sum": "882896a3158e5d115ab89a5a08d2effc",
  "_user": "hakaiinstitute",
  "_type": "src",
  "_file": "hydrocan_0.0.1.tar.gz",
  "_fileid": "dd000e62705c79e4144fc193c30d77d1e609d1460bcf11a8480b39ffeab08724",
  "_filesize": 556047,
  "_sha256": "dd000e62705c79e4144fc193c30d77d1e609d1460bcf11a8480b39ffeab08724",
  "_created": "2026-06-08T20:20:10.000Z",
  "_published": "2026-06-08T20:30:56.762Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80188161308,
      "time": 148,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7491490144"
    },
    {
      "job": 80188161303,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7491482972"
    },
    {
      "job": 80188161238,
      "time": 119,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7491607880"
    },
    {
      "job": 80188161378,
      "time": 110,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7491648024"
    },
    {
      "job": 80187694696,
      "time": 152,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7491435794"
    },
    {
      "job": 80188161327,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7491478529"
    },
    {
      "job": 80188161294,
      "time": 134,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7491485116"
    },
    {
      "job": 80188161420,
      "time": 73,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7491464323"
    },
    {
      "job": 80188161363,
      "time": 68,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7491462849"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hakaiinstitute/actions/runs/27164373348",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/HakaiInstitute/hydrocan",
  "_commit": {
    "id": "dcfa071bb3998dbe690b1391ac61a5f2f7e6a4cf",
    "author": "Sam Albers <sam.albers@hakai.org>",
    "committer": "GitHub <noreply@github.com>",
    "message": "better usage example (#25)",
    "time": 1780949595
  },
  "_maintainer": {
    "name": "Sam Albers",
    "email": "sam.albers@hakai.org",
    "login": "boshek",
    "bluesky": "@bigbadsam.bsky.social",
    "linkedin": "in/sam-albers",
    "description": "Just trying to bring people together",
    "uuid": 18472598
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "httptest2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "hakaiinstitute",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-16",
      "n": 5
    },
    {
      "week": "2026-17",
      "n": 5
    },
    {
      "week": "2026-18",
      "n": 5
    },
    {
      "week": "2026-19",
      "n": 4
    },
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-23",
      "n": 3
    },
    {
      "week": "2026-24",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "boshek",
      "count": 24,
      "uuid": 18472598
    }
  ],
  "_userbio": {
    "uuid": 22079191,
    "type": "organization",
    "name": "Hakai Institute",
    "description": "The Hakai Institute is a scientific research institution that advances long-term research at remote locations on the coastal margin of British Columbia, Canada."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hydrocan"
  },
  "_devurl": "https://github.com/hakaiinstitute/hydrocan",
  "_pkgdown": "https://hakaiinstitute.github.io/hydrocan/",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hydrocan.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "hc_citation",
    "hc_list_sources",
    "hc_read_daily_flows",
    "hc_read_daily_levels",
    "hc_read_flows",
    "hc_read_levels",
    "hc_read_stations",
    "new_hydrocan_adapter",
    "register_hydrocan_adapter"
  ],
  "_help": [
    {
      "page": "hc_citation",
      "title": "Cite a hydrocan data source",
      "topics": [
        "hc_citation"
      ]
    },
    {
      "page": "hc_list_sources",
      "title": "List registered data sources",
      "topics": [
        "hc_list_sources"
      ]
    },
    {
      "page": "hc_read_daily_flows",
      "title": "Retrieve daily flow summaries",
      "topics": [
        "hc_read_daily_flows"
      ]
    },
    {
      "page": "hc_read_daily_levels",
      "title": "Retrieve daily water level summaries",
      "topics": [
        "hc_read_daily_levels"
      ]
    },
    {
      "page": "hc_read_flows",
      "title": "Retrieve sub-daily flow observations",
      "topics": [
        "hc_read_flows"
      ]
    },
    {
      "page": "hc_read_levels",
      "title": "Retrieve sub-daily water level observations",
      "topics": [
        "hc_read_levels"
      ]
    },
    {
      "page": "hc_read_stations",
      "title": "Retrieve station metadata",
      "topics": [
        "hc_read_stations"
      ]
    },
    {
      "page": "new_hydrocan_adapter",
      "title": "Create a hydrocan adapter",
      "topics": [
        "new_hydrocan_adapter"
      ]
    },
    {
      "page": "register_hydrocan_adapter",
      "title": "Register a hydrocan adapter",
      "topics": [
        "register_hydrocan_adapter"
      ]
    }
  ],
  "_pkglogo": "https://github.com/HakaiInstitute/hydrocan/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/HakaiInstitute/hydrocan/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "dplyr",
    "generics",
    "glue",
    "httr2",
    "lifecycle",
    "magrittr",
    "openssl",
    "pillar",
    "pkgconfig",
    "R6",
    "rappdirs",
    "rlang",
    "sys",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "combining-sources.Rmd",
      "filename": "combining-sources.html",
      "title": "Combining data from multiple sources",
      "engine": "knitr::rmarkdown",
      "headings": [
        "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"
      ],
      "created": "2026-06-03 14:58:19",
      "modified": "2026-06-03 19:15:06",
      "commits": 2
    },
    {
      "source": "hydrocan-adapters.Rmd",
      "filename": "hydrocan-adapters.html",
      "title": "The hydrocan adapter system",
      "engine": "knitr::rmarkdown",
      "headings": [
        "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"
      ],
      "created": "2026-04-30 20:28:35",
      "modified": "2026-06-03 19:15:06",
      "commits": 3
    }
  ],
  "_score": 3.845098040014257,
  "_indexed": true,
  "_nocasepkg": "hydrocan",
  "_universes": [
    "hakaiinstitute",
    "boshek"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-06-08T20:22:42.000Z",
      "distro": "noble",
      "commit": "dcfa071bb3998dbe690b1391ac61a5f2f7e6a4cf",
      "fileid": "67d4555bf82a9043252c1a638dcd91c116b0f9d0a175ea9ef9c38c7182d3b510",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hakaiinstitute/actions/runs/27164373348"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-06-08T20:22:23.000Z",
      "distro": "noble",
      "commit": "dcfa071bb3998dbe690b1391ac61a5f2f7e6a4cf",
      "fileid": "4967c112984eace61300bade20f8c1d693a33c691ef5ea092682e9a66b600fa7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hakaiinstitute/actions/runs/27164373348"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-06-08T20:28:17.000Z",
      "commit": "dcfa071bb3998dbe690b1391ac61a5f2f7e6a4cf",
      "fileid": "becf452ba98c7ecda5a7ff8490d837e2cfb335170182e68fc1a10358ba219a2b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hakaiinstitute/actions/runs/27164373348"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-06-08T20:30:14.000Z",
      "commit": "dcfa071bb3998dbe690b1391ac61a5f2f7e6a4cf",
      "fileid": "c7d353115463a30f68461381eff27a35b3e12fad477cbe717bf74d0a7cd4ec2e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hakaiinstitute/actions/runs/27164373348"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.1",
      "date": "2026-06-08T20:22:23.000Z",
      "commit": "dcfa071bb3998dbe690b1391ac61a5f2f7e6a4cf",
      "fileid": "be02eba75610b1b4986df6bb21b5d89679ca99a9d32b6daa5e348f7cff9b6b44",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hakaiinstitute/actions/runs/27164373348"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-06-08T20:22:23.000Z",
      "commit": "dcfa071bb3998dbe690b1391ac61a5f2f7e6a4cf",
      "fileid": "09ae2b40d6aa1f34db2786b7cbf8bb8d8f22691b486e90ab16a47f4a770b5546",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hakaiinstitute/actions/runs/27164373348"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-06-08T20:21:24.000Z",
      "commit": "dcfa071bb3998dbe690b1391ac61a5f2f7e6a4cf",
      "fileid": "13030dfc5d56be8dda7a00d5b7a9eafeed9335d4eaee7872bed7014edca68a2b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hakaiinstitute/actions/runs/27164373348"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-06-08T20:21:19.000Z",
      "commit": "dcfa071bb3998dbe690b1391ac61a5f2f7e6a4cf",
      "fileid": "079b051908366f3eec49f104961b197607e1e51e08f9988b2217f1a3c511911a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hakaiinstitute/actions/runs/27164373348"
    }
  ]
}