Learn R Programming

geodata (version 0.6-2)

country_codes: Get country codes

Description

Get country codes for all countries in the world.

Usage

country_codes(query=NULL)

Value

data.frame

Arguments

query

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

Examples

Run this code
cc <- country_codes()
head(cc)

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

Run the code above in your browser using DataLab