Description Usage Format Source Examples
Winter weather data for Tassasen Sami reindeer herding district in Sweden. The dataset presents daily data for weather conditions from the winter 2008 to 2020. Winter here comprises from the beginning of October of the previous year to the last of Aril of the current year. A second dataset presents data for more weather stations in the region.
1 2 | data(weather_tassasen)
data(weather_tassasen_allstations)
|
A data frame with 7 variables:
date of the record
year of the record
snow depth in mm, measured in Myskelasen
snow depth in mm, measured in Dravagen
minimum daily temperature in degrees Celcius, measured in Dravagen
maximum daily temperature in degrees Celcius, measured in Dravagen
average daily temperature in degrees Celcius, measured in Dravagen
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | library(ggplot2)
data(weather_mittadalen)
ggplot(weather_mittadalen, aes(date)) +
facet_wrap(.~year, scales = "free", ncol = 5)+
geom_line(aes(y = snow_depth, color = "Snow depth (mm)")) +
geom_line(aes(y = prec, color = "Precipitation (mm)")) +
labs(x = "Date", y = "", color = "Measure") +
theme(legend.position = "bottom")
data(weather_tassasen)
ggplot(weather_tassasen, aes(date)) +
facet_wrap(.~year, scales = "free", ncol = 5)+
geom_line(aes(y = snow_depth, color = "Snow depth (mm)")) +
geom_line(aes(y = prec, color = "Precipitation (mm)")) +
labs(x = "Date", y = "", color = "Measure") +
theme(legend.position = "bottom")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.