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.
geometries_data(exclude.iso.na = TRUE, countries.list = NULL)an object of class data.frame and sf.
if TRUE (default), countries that do not have a ISO 3166 code are excluded from the table.
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.