country_codes {geodata}R Documentation

Get country codes

Description

Get country codes for all countries in the world.

Usage

country_codes(query=NULL)

Arguments

query

character. A single word that can be used to subset the returned data.frame

Value

data.frame

Examples

cc <- country_codes()
head(cc)

p <- country_codes(query="Per")
p

[Package geodata version 0.5-9 Index]