Skip to content

Commit

Permalink
Update tornadoes.R path shapefile url
Browse files Browse the repository at this point in the history
Update tornadoes.R's path file url to reflect the inclusion of 2019 data.
  • Loading branch information
ryanscharf authored and sckott committed Feb 23, 2021
1 parent fcca536 commit 2a621a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/tornadoes.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#' }
tornadoes <- function(...) {
check4pkg('rgdal')
url <- 'https://www.spc.noaa.gov/gis/svrgis/zipped/1950-2018-torn-aspath.zip'
url <- 'https://www.spc.noaa.gov/gis/svrgis/zipped/1950-2019-torn-aspath.zip'
tornadoes_GET(url, ...)
readshp(file.path(torn_cache$cache_path_get(), tornadoes_basename))
}
Expand All @@ -45,7 +45,7 @@ is_tornadoes <- function(x){
}
}

tornadoes_basename <- "1950-2018-torn-aspath"
tornadoes_basename <- "1950-2019-torn-aspath"

readshp <- function(x) {
rgdal::readOGR(dsn = path.expand(x),
Expand Down

0 comments on commit 2a621a1

Please sign in to comment.