Learn R Programming

MazamaSpatialUtils (version 0.8.6)

SimpleCountries: Simplified spatial dataset of country boundaries.

Description

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.

Usage

SimpleCountries

Arguments

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")