ropensci / rnaturalearth

An R package to hold and facilitate interaction with natural earth map data :earth_africa:
http://ropensci.github.io/rnaturalearth/
Other
217 stars 23 forks source link

'ne_download': check if map already exists in 'destdir' #50

Closed AMBarbosa closed 9 months ago

AMBarbosa commented 2 years ago

It could save a lot of time and energy if ne_download first checked if a file is already in 'destdir' before downloading it. If it is, the function could just import the map that's already there. (Or you could add an argument to optionally re-download and overwrite the map if explicitly wanted.) Cheers!