ne_download() recently started running into a HTTP status was '500 Internal Server Error' error. This appears to be the same issue as outlined here on the Natural Earth GitHub repo: https://github.com/nvkelso/natural-earth-vector/issues/434
The fix apparently requires setting the "referrer URL", which can be done with curl as follows:
ne_download()
recently started running into aHTTP status was '500 Internal Server Error'
error. This appears to be the same issue as outlined here on the Natural Earth GitHub repo: https://github.com/nvkelso/natural-earth-vector/issues/434The fix apparently requires setting the "referrer URL", which can be done with curl as follows:
However, it's not clear to me how to do this with
download.file()
in R.