Learn R Programming

r2country (version 2.0.2.4.0)

countries: Names of all countries

Description

Fetch the names of all countries

Usage

countries

Arguments

Value

Names of all countries in the globe

Format

An object of class character of length 193.

Examples

Run this code
# list all the countries
countries

# list only 5 countries
countries[1:5]

# create a dataset with all countries of the world
data.frame(ID = quickcode::number(length(countries)), Names = countries)

Run the code above in your browser using DataLab