tradestatistics (version 0.2)

ots_attributes_countries: A table of official country names, ISO-3 codes and other metadata

Description

Provides official codes taken from the United Nations official sources. This data is used by the functions provided within this package to validate user parameters and add both product and country text columns to the data, therefore reducing the number of API calls and the time to generate the requested data.

Usage

ots_attributes_countries

Arguments

Format

A data frame with 249 observations on the following 6 variables.

country_iso

ISO code of the country (e.g. "chl" means Chile)

country_name_english

Country name (e.g. Germany)

country_fullname_english

Country name with indications (e.g. Germany (former Federal Republic of Germany until 1990))

continent_id

Numeric id of the continent where the country belongs to

continent

Continent where the country belongs to

eu28_member

Dummy variable such that 1 means "belongs to EU-28 group" and 0 otherwise

\

Examples

Run this code
# NOT RUN {
ots_attributes_countries
# }

Run the code above in your browser using DataCamp Workspace