Skip to content

Commit

Permalink
Merge pull request #96 from datacarpentry/95-fix-broken-link-in-setup
Browse files Browse the repository at this point in the history
Update zip download URLs
  • Loading branch information
tobyhodges authored Nov 25, 2024
2 parents ee69260 + a0a37a7 commit a5dbb61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions episodes/files/setup.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ if (! file.exists("data/NEON-DS-Landsat-NDVI")) {

if (! file.exists("data/Global/Boundaries/ne_110m_graticules_all")) {
dest <- tempfile()
download.file("https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/physical/ne_110m_graticules_all.zip",
download.file("https://naciscdn.org/naturalearth/110m/physical/ne_110m_graticules_all.zip",
dest, mode = "wb")
unzip(dest, exdir = "data/Global/Boundaries/ne_110m_graticules_all")
}

if (! file.exists("data/Global/Boundaries/ne_110m_land")) {
dest <- tempfile()
download.file("https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/physical/ne_110m_land.zip",
download.file("https://naciscdn.org/naturalearth/110m/physical/ne_110m_land.zip",
dest, mode = "wb")
unzip(dest, exdir = "data/Global/Boundaries/ne_110m_land")
}

0 comments on commit a5dbb61

Please sign in to comment.