File: storms.Rd

package info (click to toggle)
r-cran-dplyr 1.0.10-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,476 kB
  • sloc: cpp: 1,266; sh: 16; makefile: 9
file content (50 lines) | stat: -rw-r--r-- 1,681 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data-storms.R
\docType{data}
\name{storms}
\alias{storms}
\title{Storm tracks data}
\format{
A tibble with 11,859 observations and 13 variables:
\describe{
\item{name}{Storm Name}
\item{year,month,day}{Date of report}
\item{hour}{Hour of report (in UTC)}
\item{lat,long}{Location of storm center}
\item{status}{Storm classification (Tropical Depression, Tropical Storm,
or Hurricane)}
\item{category}{Saffir-Simpson storm category (estimated from wind speed.
-1 = Tropical Depression, 0 = Tropical Storm)}
\item{wind}{storm's maximum sustained wind speed (in knots)}
\item{pressure}{Air pressure at the storm's center (in millibars)}
\item{tropicalstorm_force_diameter}{Diameter (in nautical miles) of the area experiencing tropical storm strength winds (34 knots or above)}
\item{hurricane_force_diameter}{Diameter (in nautical miles) of the area experiencing hurricane strength winds (64 knots or above)}
}
}
\usage{
storms
}
\description{
This data is a subset of the NOAA Atlantic hurricane database best track
data, \url{https://www.nhc.noaa.gov/data/#hurdat}. The data includes the
positions and attributes of storms from 1975-2020, measured every six hours
during the lifetime of a storm.
}
\examples{

# show a plot of the storm paths
if (requireNamespace("ggplot2", quietly = TRUE)) {
  library(ggplot2)
  ggplot(storms) +
    aes(x=long, y=lat, color=paste(year, name)) +
    geom_path() +
    guides(color='none') +
    facet_wrap(~year)
}

storms
}
\seealso{
The script to create the storms data set: \url{https://github.com/tidyverse/dplyr/blob/main/data-raw/storms.R}
}
\keyword{datasets}