get_countries: Obtain information on countries that are available in the...

View source: R/get_countries.R

get_countriesR Documentation

Obtain information on countries that are available in the UNCTAD TRAINS dataset.

Description

This function obtains all reporters and partners names, alpha numeric codes, ISO3 codes and other meta data about the countries that are available in the UNCTAD TRAINS dataset.

No parameters are required.

Usage

get_countries()

Value

get_countries() returns a data frame with six character columns:

  • iso3_code: three-letter countries codes;

  • country_code: three-digit countries codes;

  • name: countries' names;

  • is_reporter: the value is 1 if the country is available as reporter and 0 otherwise;

  • is_partner: the value is 1 if the country is available as partner and 0 otherwise;

  • is_group: the value is 1 if the code represents a group of countries and 0 otherwise;


diegoacastro/witstrainsr documentation built on June 2, 2022, 12:56 a.m.