A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

hubeau

An R-package proposing a collection of function to help retrieve data from the French national databases on water.
https://github.com/inrae/hubeau

Category: Hydrosphere
Sub Category: Ocean and Hydrology Data Access

Last synced: about 9 hours ago
JSON representation

Repository metadata

R package for downloading data from the French Hub'Eau APIs: https://hubeau.eaufrance.fr/

README.Rmd

          ---
output: github_document
---



```{r opts, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# hubeau an R package for the Hub'Eau APIs




[![CRAN](https://www.r-pkg.org/badges/version-ago/hubeau)](https://cran.r-project.org/package=hubeau)
[![Total downloads](https://cranlogs.r-pkg.org/badges/grand-total/hubeau)](https://cran.r-project.org/package=hubeau)
[![DOI: 10.57745/XKN6NC](https://img.shields.io/badge/doi-10.57745%2FXKN6NC-purple)](https://doi.org/10.57745/XKN6NC)
`r badger::badge_license(color = "orange")`
`r badger::badge_lifecycle("stable", color = "blue")`

[![R-CMD-check](https://github.com/inrae/hubeau/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/inrae/hubeau/actions/workflows/R-CMD-check.yaml)


'hubeau' is an R-package proposing a collection of function to help retrieve data from the French national databases on water: https://hubeau.eaufrance.fr

# Installation

``` r
# Install released version from CRAN
install.packages("hubeau")

# Install development version from GitHub:
# install.packages("remotes")
remotes::install_github("inrae/hubeau")
```

# Loading library

```{r library}
library(hubeau)
```

# Get started

```{r import_documentationchild, results='asis', echo=FALSE}
convert_link <- function(s) {
  m <- gregexpr("\\[.*\\(\\)\\]", s)
  if (m[[1]][1] == -1) return(s)
  x <- regmatches(s, m)
  x <- gsub("\\[|\\(|\\)|\\]", "", x)
  x2 <- strsplit(x, "_", fixed = TRUE)[[1]]
  x2 <- paste(x2[-length(x2)], collapse = "_")
  apis <- list_apis()
  x2 <- paste0("get_", apis[sapply(apis, grepl, x = x2, fixed = TRUE)])
  x <- sprintf("[`%s`](https://inrae.github.io/hubeau/reference/%s.html)", x, x2)
  regmatches(s, m) <- x
  s
}

s <- readLines("man-roxygen/hubeau.md")
s2 <- lapply(s, convert_link)
cat(paste(s2, collapse = "\n"))
```

A complete documentation is available on the package website: https://inrae.github.io/hubeau/

# Acknowledgements

The authors would like to thank the European Commission and the French National Research Agency (ANR) for funding in the frame of the collaborative  international consortium [IN-WOP](http://www.waterjpi.eu/joint-calls/joint-call-2018-waterworks-2017/booklet/in-wop) financed under the 2018 Joint call of the WaterWorks2017 ERA-NET Cofund. This ERA-NET is an integral part of the activities developed by the Water JPI.

![Water JPI](man/figures/logo_water_jpi.png) ![Water Works 2017](man/figures/logo_water_works_2017.png) ![European Commission](man/figures/logo_european_commission.jpg) ![2018 Joint call](man/figures/logo_2018_joint_call.png)

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 6 days ago

Total Commits: 184
Total Committers: 6
Avg Commits per committer: 30.667
Development Distribution Score (DDS): 0.62

Commits in past year: 7
Committers in past year: 1
Avg Commits per committer in past year: 7.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
David Dorchies 1****h 70
Dorchies David d****s@i****r 57
Dorchies David d****s@i****r 42
PascalIrz p****z@g****m 13
cedric.mondy c****y@o****r 1
Sébastien Grall s****l@g****m 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 31
Total pull requests: 19
Average time to close issues: 3 months
Average time to close pull requests: 25 days
Total issue authors: 4
Total pull request authors: 5
Average comments per issue: 0.58
Average comments per pull request: 0.63
Merged pull request: 18
Bot issues: 0
Bot pull requests: 0

Past year issues: 5
Past year pull requests: 1
Past year average time to close issues: about 1 month
Past year average time to close pull requests: 6 minutes
Past year issue authors: 2
Past year pull request authors: 1
Past year average comments per issue: 0.2
Past year average comments per pull request: 0.0
Past year merged pull request: 1
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/inrae/hubeau

Top Issue Authors

  • DDorch (26)
  • PascalIrz (3)
  • marqisoft (1)
  • CedricMondy (1)

Top Pull Request Authors

  • DDorch (11)
  • PascalIrz (5)
  • LafageDenis (1)
  • SebastienGrall (1)
  • OFB-IdF (1)

Top Issue Labels

  • enhancement (12)
  • bug (7)
  • documentation (2)
  • duplicate (1)

Top Pull Request Labels

  • documentation (1)
  • enhancement (1)

Package metadata

cran.r-project.org: hubeau

Get Data from the French National Database on Water 'Hub'Eau'

  • Homepage: https://inrae.github.io/hubeau/
  • Documentation: http://cran.r-project.org/web/packages/hubeau/hubeau.pdf
  • Licenses: MIT + file LICENSE
  • Latest release: 0.5.1 (published 3 months ago)
  • Last Synced: 2025-04-26T05:31:35.376Z (1 day ago)
  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 796 Last month
  • Rankings:
    • Forks count: 11.273%
    • Downloads: 19.244%
    • Average: 24.854%
    • Stargazers count: 28.503%
    • Dependent packages count: 29.797%
    • Dependent repos count: 35.455%
  • Maintainers (1)

Dependencies

.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v1 composite
  • r-lib/actions/setup-r-dependencies v1 composite
DESCRIPTION cran
  • R >= 2.10 depends
  • dplyr * imports
  • httr * imports
  • purrr * imports
  • tibble * imports
  • urltools * imports
  • spelling * suggests
  • testthat >= 3.0.0 suggests

Score: 11.305827492074487