Skip to content

Commit

Permalink
Save the storms data in a CSV for diffs (#6950)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavisVaughan authored Nov 3, 2023
1 parent 2e191ff commit 966b044
Show file tree
Hide file tree
Showing 3 changed files with 19,071 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data-raw/storms.R
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,9 @@ storms <- storms %>%
# drop some columns
select(name, year, month, day, hour, lat, long, status, category, wind, pressure, tropicalstorm_force_diameter, hurricane_force_diameter)

# save in convenient form for diffs
storms %>%
write_csv("data-raw/storms.csv")

# output for the package
usethis::use_data(storms, overwrite = TRUE)
Loading

0 comments on commit 966b044

Please sign in to comment.