SimpleCountries is a simplified world borders dataset suitable for global maps and quick spatial searches. This dataset is distributed with the package and is can be used with getCountry(), getCountryCode() and getCountryName() when restricting searches to land-based locations.

SimpleCountries

Format

A simple features data frame with 246 records and 7 columns of data.

Details

This dataset is equivalent to TMWorldBordersSimple but with fewer columns of data.

See also

convertTMWorldBordersSimple

This dataset was generated on 2022-11-04 by running:


library(MazamaSpatialUtils)
setSpatialDataDir("~/Data/Spatial_0.8")

convertTMWorldBorders()

loadSpatialData("NaturalEarthAdm0_05")

columnNames <- c("countryCode", "countryName", "ISO3", "FIPS",
                 "UN_region", "polygonID")
SimpleCountries <- NaturalEarthAdm0_05[, columnNames]
save(SimpleCountries, file = "data/SimpleCountries.rda")