country_list: Get basic countries data

View source: R/country.R

country_listR Documentation

Get basic countries data

Description

Returns all countries listed in DOPA.

Usage

country_list(cache = TRUE)

Arguments

cache

Sets the cachce mode: TRUE = Use cache if available and save to cache, FALSE = Ignore cache if available and do not save to cache, "flush" = Ignore cache if available and save to cache.

Value

data.frame of countries with the following columns:

iso2 The 2 character ISO code.
iso3 The 3 character ISO code.
name The name of the country (english).
gec The GEC code (deprecated) used by the CIA World Factbook.
minx Minimum X of extent of the country.
miny Minimum Y of extent of the country.
maxx Maximum X of extent of the country.
maxy Maximum Y of extent of the country.

Author(s)

Joona Lehtomaki <joona.lehtomaki@gmail.com>

See Also

http://dopa-services.jrc.ec.europa.eu/services/dopa/ehabitat/get_country_list

Examples

## Not run: 

# Get all countries
country_list()
 

## End(Not run)

ropensci/rdopa documentation built on May 18, 2022, 6:32 p.m.