Closed jbracher closed 1 year ago
Just for background, the country argument searches for matches in the admin field. The following works for me:
map_europe <- ne_countries(continent = "Europe")
## search for admin names containing "Cze"
map_europe$admin[grep("Cze", map_europe$admin)]
## use the returned admin name "Czechia"
map_cz <- ne_countries(country = "Czechia")
If the above doesn't work, maybe double check the rnaturalearth and rnaturalearthdata are up to date.
For Bosnia and Herzegovina the following works for me:
map_europe$admin[grep("Bosnia", map_europe$admin)]
map_bh <- ne_countries(country = "Bosnia and Herzegovina")
I just ran into a little hiccup trying to load data for Czechia/Czech Republic:
In this blog entry https://www.naturalearthdata.com/blog/miscellaneous/natural-earth-v4/ it says Czechia was now used. Maybe this switch broke something? Or am I overlooking something?
Edit: I experienced a similar problem for Bosnia and Herzegovina.
Thanks a lot for this otherwise fantastic package!