Learn R Programming

giscoR (version 0.3.1)

gisco_countries: World countries POLYGON object

Description

A sf object including all countries as provided by GISCO (2016 version).

Arguments

Format

A MULTIPOLYGON data frame (resolution: 1:20million, EPSG:4326) object with 257 rows and 7 variables:

  • id: row ID

  • CNTR_NAME: Official country name on local language

  • ISO3_CODE: ISO 3166-1 alpha-3 code of each country, as provided by GISCO

  • CNTR_ID: Country ID

  • NAME_ENGL: Country name in English

  • FID: FID

  • geometry: geometry field

See Also

gisco_get_countries()

Other dataset: gisco_coastallines, gisco_countrycode, gisco_nuts, tgs00026

Examples

Run this code
# NOT RUN {
cntry <- gisco_countries
GBR <- subset(cntry, ISO3_CODE == "GBR")

library(ggplot2)

ggplot(GBR) +
  geom_sf(color = "red3", fill = "blue4") +
  theme_void()
# }

Run the code above in your browser using DataLab