Closed leonardofwink closed 1 year ago
rnaturalearth
provides an interface to https://www.naturalearthdata.com/. Can you verify that the requested data is on their website?
You can find Malta in the following dataset:
countries <- ne_countries(type = "tiny_countries", returnclass = "sf")
Hi! Today I was trying to find the correct country in Worldle using this guide, but i couldn't find Malta's data.
Here's what I've tried:
library(dplyr)
data(countries110, package = "rnaturalearth")
countries <- countries110 %>%
st_as_sf()
countries %>%
dplyr::select(SUBUNIT) %>%
filter(
SUBUNIT == "Malta"
)
And here's what I found:
Simple feature collection with 0 features and 1 field
Bounding box: xmin: NA ymin: NA xmax: NA ymax: NA
CRS: +proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0
[1] SUBUNIT geometry
<0 linhas> (ou row.names de comprimento 0)