rrricanes to Access Tropical Cyclone Data

@adlihs, thank you for bringing this to my attention. I opened an issue in the rrricanes GitHub. I suspect this has to do with the locale setting and how I create a date value in the scrape_date function. I will try to fix this as I can but not likely today.

You may be able to verify this is correct by changing your locale. Can you run this piece of code, without error:

library(dplyr)
library(rrricanes)

Sys.setlocale("LC_ALL", "English")

ds <- get_storms() %>%
  filter(Name == "Hurricane Harvey") %>%
  pull(Link) %>% 
  get_storm_data(products = c("discus"))

Sys.setlocale("LC_ALL", "Spanish_Costa Rica.1252")
1 Like