geometries_data: geometries_data

View source: R/geometries_data.R

geometries_dataR Documentation

geometries_data

Description

This function is deprecated and not exported. It has been substituted with worldMapR::countrycoord_data. This function generates a data frame with information about geometries and centroid coordinates of countries. You can choose whether to keep all the countries or only a subset.

Usage

geometries_data(exclude.iso.na = TRUE, countries.list = NULL)

Arguments

exclude.iso.na

if TRUE (default), countries that do not have a ISO 3166 code are excluded from the table.

countries.list

List of the ISO 3166-1 alpha-2 codes of countries that are to be included. By default it is set to NULL and all countries are included.

Value

an object of class data.frame and sf.


WorldMapR documentation built on Sept. 9, 2025, 5:51 p.m.