get_country_code: get_country_code

View source: R/get_country.R

get_country_codeR Documentation

get_country_code

Description

various country codes from country names

Usage

get_country_code(
  country,
  code = c("FIFA", "IOC", "ISO2", "UNcode", "MARC", "GAUL", "FIPS", "WMO", "ITU", "DS",
    "M49", "Continent", "TLD", "Geoname.ID", "EDGAR")
)

Arguments

country

vector of countries

code

vector of code types wanted (Includes: "FIFA", "IOC", "ISO2", "UNcode", "MARC", "GAUL", "FIPS", "WMO", "ITU", "DS", "M49", "Continent", "TLD", "Geoname.ID", "EDGAR")

Value

vector of codes matching each country


HopkinsIDD/globaltoolboxlite documentation built on Jan. 12, 2024, 5:49 a.m.