Description Usage Arguments Details Value Examples
Plus d'informations sur https://hubeau.eaufrance.fr/page/api-hydrometrie#/hydrometrie/observations
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
bbox |
Voir lien ci-dessus. |
code_entite |
Idem. |
cursor |
Idem. |
date_debut_obs |
Idem. |
date_fin_obs |
Idem. |
distance |
Idem. |
fields |
Idem. |
grandeur_hydro |
Idem. |
latitude |
Idem. |
longitude |
Idem. |
size |
Idem. |
sort |
Idem. |
timestep |
Idem. |
Le nom de la fonction correspond à "bh" pour la banque HYDRO, "htr" pour "hydrologie temps réel".
Un dataframe avec les données téléchargées.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
debits <- bh_htr_base(code_entite = "J7010610",
grandeur_hydro = "Q",
timestep = 60) %>%
mutate(date_obs = lubridate::ymd_hms(date_obs) %>% as.Date())
debits %>% filter(grandeur_hydro == "Q") %>%
ggplot(aes(x = date_obs, y = resultat_obs)) +
geom_point() +
scale_x_date(date_labels = "%d/%m")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.