hubeau issueshttps://gitlab.irstea.fr/in-wop/hubeau/-/issues2021-12-27T11:59:10+01:00https://gitlab.irstea.fr/in-wop/hubeau/-/issues/16Aggregate documentation by API2021-12-27T11:59:10+01:00Dorchies DavidAggregate documentation by APIGenerate one page by API instead of one page by function.Generate one page by API instead of one page by function.v0.3.0Dorchies DavidDorchies Davidhttps://gitlab.irstea.fr/in-wop/hubeau/-/issues/15Missing dplyr dependency2021-12-23T17:43:35+01:00Dorchies DavidMissing dplyr dependency```
# Retrieve the hydrometric last real time observed discharge at station 'H020302002'
get_hydrometrie_observations_tr(list(code_entite = "H0203020", grandeur_hydro = "Q"))
#> Error: `map_df()` requires dplyr
``````
# Retrieve the hydrometric last real time observed discharge at station 'H020302002'
get_hydrometrie_observations_tr(list(code_entite = "H0203020", grandeur_hydro = "Q"))
#> Error: `map_df()` requires dplyr
```v0.3.0Dorchies DavidDorchies Davidhttps://gitlab.irstea.fr/in-wop/hubeau/-/issues/13Crash in get_hydrometrie_observations_tr for empty response2021-09-27T13:31:51+02:00Dorchies DavidCrash in get_hydrometrie_observations_tr for empty responseSee reproducible example below:
```r
library(hubeau)
params <- list(code_entite = "H0203020",
date_debut_obs = format(Sys.Date()-3),
grandeur_hydro = "Q")
df <- get_hydrometrie_observations_tr(params, ent...See reproducible example below:
```r
library(hubeau)
params <- list(code_entite = "H0203020",
date_debut_obs = format(Sys.Date()-3),
grandeur_hydro = "Q")
df <- get_hydrometrie_observations_tr(params, entities = "wrong value")
```
The function crashes with this error message:
`Error in l[sapply(l, is.null)] <- NULL : invalid subscript type 'list'`v0.3.0Dorchies DavidDorchies Davidhttps://gitlab.irstea.fr/in-wop/hubeau/-/issues/12Add informations in DESCRIPTION file2021-12-23T17:43:35+01:00Dorchies DavidAdd informations in DESCRIPTION fileSuch as in: https://github.com/r-lib/remotes/blob/master/DESCRIPTION
```
URL: https://inrae.github.io/hubeau, https://github.com/inrae/hubeau#readme
BugReports: https://github.com/inrae/hubeau/issues
```Such as in: https://github.com/r-lib/remotes/blob/master/DESCRIPTION
```
URL: https://inrae.github.io/hubeau, https://github.com/inrae/hubeau#readme
BugReports: https://github.com/inrae/hubeau/issues
```v0.3.0Dorchies DavidDorchies Davidhttps://gitlab.irstea.fr/in-wop/hubeau/-/issues/11[CI] Mirroring gitlab repository to github at push2021-09-27T17:14:33+02:00Dorchies David[CI] Mirroring gitlab repository to github at pushv0.3.0Dorchies DavidDorchies Davidhttps://gitlab.irstea.fr/in-wop/hubeau/-/issues/10[get_hydrometrie_observations_tr] add an option for handling duplicate entries2021-08-06T16:52:11+02:00Dorchies David[get_hydrometrie_observations_tr] add an option for handling duplicate entriesThe parameter `code_entity` is ambivalent and refers both to `code_site` and `code_station` (See https://github.com/BRGM/hubeau/issues/73).
Add an option 'entities' for filtering the API response:
- "station": keep only lines where `co...The parameter `code_entity` is ambivalent and refers both to `code_site` and `code_station` (See https://github.com/BRGM/hubeau/issues/73).
Add an option 'entities' for filtering the API response:
- "station": keep only lines where `code_station` is not null
- "site": keep only lines where `code_station` is null
- "both": keep all lines related to stations and sitesv0.3.0Dorchies DavidDorchies Davidhttps://gitlab.irstea.fr/in-wop/hubeau/-/issues/9Deploy pkgdown website on github2021-08-06T16:10:36+02:00Dorchies DavidDeploy pkgdown website on githubv0.3.0Dorchies DavidDorchies Davidhttps://gitlab.irstea.fr/in-wop/hubeau/-/issues/8Add "Piézométrie" APIs2021-08-06T11:16:06+02:00Dorchies DavidAdd "Piézométrie" APIsSee https://hubeau.eaufrance.fr/page/api-piezometrieSee https://hubeau.eaufrance.fr/page/api-piezometriev0.3.0Dorchies DavidDorchies Davidhttps://gitlab.irstea.fr/in-wop/hubeau/-/issues/7Add hydrometrie APIs2021-08-05T18:12:33+02:00Dorchies DavidAdd hydrometrie APIsv0.3.0https://gitlab.irstea.fr/in-wop/hubeau/-/issues/6Add the API prelevements/ouvrage2021-08-05T14:41:28+02:00Dorchies DavidAdd the API prelevements/ouvragev0.3.0Dorchies DavidDorchies Davidhttps://gitlab.irstea.fr/in-wop/hubeau/-/issues/5Manage global limitation to 20000 records for all API2021-08-05T12:07:56+02:00Dorchies DavidManage global limitation to 20000 records for all APIDetect the number of records with 'count' item and throw an error.Detect the number of records with 'count' item and throw an error.v0.3.0Dorchies DavidDorchies Davidhttps://gitlab.irstea.fr/in-wop/hubeau/-/issues/4Add data retrieval of "Indicateurs des services d'eau et d'assainissement"2021-08-06T12:02:17+02:00Dorchies DavidAdd data retrieval of "Indicateurs des services d'eau et d'assainissement"See API documentation: https://hubeau.eaufrance.fr/page/api-indicateurs-services
Créer les functions:
- `get_indicateurs_services_communes`
- `get_indicateurs_services_indicateurs`
- `get_indicateurs_services_services`See API documentation: https://hubeau.eaufrance.fr/page/api-indicateurs-services
Créer les functions:
- `get_indicateurs_services_communes`
- `get_indicateurs_services_indicateurs`
- `get_indicateurs_services_services`v0.3.0Dorchies DavidDorchies Davidhttps://gitlab.irstea.fr/in-wop/hubeau/-/issues/3Extends package functionalities to the Hub'Eau APIs2021-08-03T09:11:39+02:00Dorchies DavidExtends package functionalities to the Hub'Eau APIsRename the package from 'bnpe' to 'hubeau'Rename the package from 'bnpe' to 'hubeau'v0.3.0Dorchies DavidDorchies Davidhttps://gitlab.irstea.fr/in-wop/hubeau/-/issues/2Use new API for harvesting data2021-08-06T15:34:41+02:00Dorchies DavidUse new API for harvesting dataSee Documentation: https://api.gouv.fr/documentation/api_hubeau_prelevementsSee Documentation: https://api.gouv.fr/documentation/api_hubeau_prelevementsv0.3.0Dorchies DavidDorchies David