‘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
You can install the ‘hubeau’ R-package from it’s development repository with:
install.packages("remotes")
::install_github("inrae/hubeau") remotes
library(hubeau)
The ‘hubeau’ package provides functions for “Hub’Eau” APIs and their
related endpoints. These functions are named as follow:
hubeau::get_[API]_[endpoint]
.
Currently available APIs and related endpoints are listed below.
API documentation: https://hubeau.eaufrance.fr/page/api-ecoulement
Available functions:
get_ecoulement_stations
:
site data and locationsget_ecoulement_observations
:
flow observations collected during campaignsget_ecoulement_campagnes
:
observation campaign informationAPI documentation: https://hubeau.eaufrance.fr/page/api-hydrometrie
Available functions:
get_hydrometrie_sites
:
hydrometry sites (can contain several stations)get_hydrometrie_stations
:
hydrometry stationsget_hydrometrie_observations_tr
:
hydrometry water level and discharge time seriesget_hydrometrie_obs_elab
:
hydrometric elaborate observations (daily/monthly mean flow)API documentation: https://hubeau.eaufrance.fr/page/api-indicateurs-services
Available functions:
get_indicateurs_services_communes
:
performance indicators by communeget_indicateurs_services_indicateurs
:
performance indicators by indicatorget_indicateurs_services_services
:
performance indicators by commune for each serviceAPI documentation: https://hubeau.eaufrance.fr/page/api-piezometrie
Available functions:
get_niveaux_nappes_chroniques
:
archived time series of piezometric stationsget_niveaux_nappes_chroniques_tr
:
real-time time series of piezometric stationsget_niveaux_nappes_stations
:
piezometric stationsAPI documentation: https://hubeau.eaufrance.fr/page/api-poisson
Available function:
get_poisson_observations
:
scientific fishery observationsAPI documentation: https://hubeau.eaufrance.fr/page/api-prelevements-eau
Available functions:
get_prelevements_chroniques
:
time series of annual withdrawn volumes by deviceget_prelevements_ouvrages
:
withdrawal devices (can contain several withdrawal points)get_prelevements_points_prelevement
:
withdrawal pointsA complete documentation is available on the package website: https://inrae.github.io/hubeau/
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 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.