Learn R Programming

d3po (version 1.0.3)

trade: World Trade 2019 and 2023

Description

Bilateral trade flows between countries for the years 2019 and 2023. Trade values are expressed in USD billion dollars.

Usage

trade

Arguments

Format

A data frame with 5,223 observations and 8 variables.

Variables

  • year: Year of the trade data (2019 or 2023).

  • reporter_continent: Continent of the reporting country.

  • partner_continent: Continent of the partner country.

  • reporter: Name of the reporting country.

  • partner: Name of the partner country.

  • reporter_iso: ISO 3166-1 alpha-3 code of the reporting country.

  • partner_iso: ISO 3166-1 alpha-3 code of the partner country.

  • trade: Trade value in USD billion dollars. Reporter (importer-side) figures are used.

Examples

Run this code
head(trade[trade$year == 2023L & trade$reporter_iso == "gbr", ])

Run the code above in your browser using DataLab