Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# dplyr (development version)

* `storms` has been updated to include 2023 data

* `case_when()` now throws a better error if one of the conditions is an array
(#6862, @ilovemane).

Expand Down
2 changes: 1 addition & 1 deletion data-raw/storms.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ library(tidyverse)
# TO UPDATE: get the latest URL from https://www.nhc.noaa.gov/data/#hurdat, and rerun this code

# Read in data set so each line is a character string
storm_file_complete <- read_file("https://www.nhc.noaa.gov/data/hurdat/hurdat2-1851-2022-050423.txt")
storm_file_complete <- read_file("https://www.nhc.noaa.gov/data/hurdat/hurdat2-1851-2023-051124.txt")
storm_strings <- read_lines(storm_file_complete)

# Identify the header lines that have three commas
Expand Down
Loading
Loading