Description Usage Format Source Examples
A data set containing the daily ice extent at Arctic Sea from 1978 to 2019, collected by National Oceanic and Atmospheric Administration (NOAA)
1 |
A data frame with 13391 rows and 6 variables:
Years of available data (1978–2019).
Month (01–12).
Day of the month indicated in Column Month.
Daily ice extent, to three decimal places.
Whether a day is missing (1) or not (0)).
data source in NOAA database.
https://nsidc.org/data/G02135/versions/3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | library(dplyr)
library(lubridate)
library(ggplot2)
data(arctic_2019)
# Create day in the year column to replace Month and Day
north <-
arctic_2019 %>%
mutate(yday = yday(make_date(Year, Month, Day)),
.keep = "all") %>%
select(Year, yday, Extent)
ggplot(north) +
geom_linerange(aes(x = yday, ymin = Year - 0.2, ymax = Year + 0.2),
size = 0.5, color = "red") +
scale_y_continuous(breaks = seq(1980, 2020, by = 5),
minor_breaks = NULL) +
labs(x = "Day",
y = "Year",
title = "Measurement frequencies were not always the same")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.