|
1 | 1 | # ------------------------------------------------------------------------ |
2 | 2 | # |
3 | 3 | # temperature data for France |
4 | | -# https://data.enedis.fr/explore/dataset/donnees-de-temperature-et-de-pseudo-rayonnement |
| 4 | +# https://opendata.enedis.fr/datasets/donnees-de-temperature-et-de-pseudo-rayonnement/ |
5 | 5 | # |
6 | 6 | # ------------------------------------------------------------------------ |
7 | 7 |
|
@@ -47,13 +47,13 @@ usethis::use_data(temperatures, internal = FALSE, overwrite = TRUE, compress = " |
47 | 47 |
|
48 | 48 | pkgload::load_all() |
49 | 49 |
|
50 | | -apex(temperatures, aes(x = date, ymin = low, ymax = high), type = "rangeArea", serie_name = "Low/High (2018-2021)") %>% |
51 | | - add_line(aes(date, `2023`)) %>% |
52 | | - ax_chart(animations = list(enabled = FALSE)) %>% |
53 | | - ax_yaxis(tickAmount = 7, labels = list(formatter = format_num("~", suffix = "°C"))) %>% |
| 50 | +apex(temperatures, aes(x = date, ymin = low, ymax = high), type = "rangeArea", serie_name = "Low/High (2018-2021)") %>% |
| 51 | + add_line(aes(date, `2023`)) %>% |
| 52 | + ax_chart(animations = list(enabled = FALSE)) %>% |
| 53 | + ax_yaxis(tickAmount = 7, labels = list(formatter = format_num("~", suffix = "°C"))) %>% |
54 | 54 | ax_colors(c("#8485854D", "#FF0000")) %>% |
55 | | - ax_stroke(width = c(1, 2)) %>% |
56 | | - ax_fill(opacity = 1, type = "solid") %>% |
| 55 | + ax_stroke(width = c(1, 2)) %>% |
| 56 | + ax_fill(opacity = 1, type = "solid") %>% |
57 | 57 | ax_labs( |
58 | 58 | title = "Temperatures in 2023 with range from 2018 to 2021", |
59 | 59 | subtitle = "Data from ENEDIS" |
|
0 commit comments