library(climate)
df <- meteo_ogimet(interval = "hourly", date = c("2018-01-01", "2018-12-31"),
station = "01008")
#> [1] "01008"
#> |======================================================================| 100 %
head(df[, 2:11])
#> Date TC TdC TmaxC TminC ddd ffkmh Gustkmh P0hPa PseahPa
#> 2 2018-12-31 23:00:00 -14.3 -19.2 <NA> <NA> NNW 25.2 43.2 1000.5 1004.2
#> 3 2018-12-31 22:00:00 -13.7 -18.2 <NA> <NA> NW 21.6 32.4 1000.0 1003.8
#> 4 2018-12-31 21:00:00 -15.9 -18.5 <NA> <NA> ESE 10.8 21.6 999.9 1003.7
#> 5 2018-12-31 20:00:00 -16.8 -20.1 <NA> <NA> E 18.0 25.2 1000.1 1003.9
#> 6 2018-12-31 19:00:00 -17.2 -21.7 <NA> <NA> ESE 21.6 28.8 1000.5 1004.3
#> 7 2018-12-31 18:00:00 -18.3 -20.8 -15.5 -19.5 ESE 21.6 32.4 1000.7 1004.5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.