Learn R Programming

gravity (version 1.1)

gravity_zeros: Gravity dataset without zero trade flows

Description

An edited version of the full gravity dataset: The "square" gravity dataset for all possible pairs of Countries worldwide, 1948-2006, which is used in the article: Head, K., T. Mayer and J. Ries, 2010, "The erosion of colonial linkages after independence". Journal of International Economics, 81(1):1-14 (lead article). Dataset gravity_no_zeros corresponds to the dataset without zero trade flows, gravity_zeros, on the other hand, includes zero trade flows.

Usage

data("gravity_zeros")

Arguments

Format

A data frame with 22588 observations on the following 10 variables.

iso_o

ISO-Code of country of origin

iso_d

ISO-Code of country of destination

distw

weighted distance

gdp_o

GDP of country of origin in million dollars

gdp_d

GDP of country of destination in million dollars

rta

regional trade agreement dummy

flow

trade flow in million dollars

contig

contiguity dummy

comlang_off

common official language dummy

comcur

common currency dummy

References

Head, K. and Mayer, T. (2014). Chapter 3 - gravity equations: Workhorse,toolkit, and cookbook. In Gita Gopinath, E. H. and Rogoff, K., editors, Handbook of International Economics, volume 4 of Handbook of International Economics, pages 131-195. Elsevier. (Gravity Equations: Workhorse, Toolkit, and Cookbook)

Head, K., T. Mayer and J. Ries, 2010, "The erosion od colonial linkages after independence". Journal of International Economics, 81(1):1-14 (lead article).

Examples

Run this code
  data(gravity_zeros)
  str(gravity_zeros)

Run the code above in your browser using DataLab