weather_tassasen: Winter weather data for Tassasen

Description Usage Format Source Examples

Description

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.

Usage

1
2
data(weather_tassasen)
data(weather_tassasen_allstations)

Format

A data frame with 7 variables:

date

date of the record

year

year of the record

snow_depth

snow depth in mm, measured in Myskelasen

prec

snow depth in mm, measured in Dravagen

temp_min

minimum daily temperature in degrees Celcius, measured in Dravagen

temp_max

maximum daily temperature in degrees Celcius, measured in Dravagen

temp_avg

average daily temperature in degrees Celcius, measured in Dravagen

Source

https://www.smhi.se/

Examples

 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")

bniebuhr/witch documentation built on Dec. 31, 2020, 8:56 p.m.