gisco_countries | R Documentation |
POLYGON
objectA sf
object including all
countries as provided by GISCO (2016 version).
A MULTIPOLYGON
data frame (resolution: 1:20million, EPSG:4326) object
with 257 rows and 7 variables:
row ID
Official country name on local language
ISO 3166-1 alpha-3 code of each country, as provided by GISCO
Country ID
Country name in English
FID
geometry field
CNTR_RG_20M_2016_4326.geojson file.
gisco_get_countries()
Other dataset:
gisco_coastallines
,
gisco_countrycode
,
gisco_nuts
,
tgs00026
cntry <- gisco_countries
GBR <- subset(cntry, ISO3_CODE == "GBR")
library(ggplot2)
ggplot(GBR) +
geom_sf(color = "red3", fill = "blue4") +
theme_void()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.