Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

pachadotdev/cepiigravity

Repository files navigation

cepiigravity

This repository is unmaintained, please see the new repository https://github.com/pachadotdev/gravitydatasets.

The goal of cepiigravity is to provide the same data from Gravity ready to be used in R (i.e. with the gravity package).

The package provides data on countries and distance measures alongside dummy variables indicating whether two countries are contiguous, share a common language or a colonial relationship, and others.

cepiigravity can be installed by running

# install.packages("remotes")
install_github("pachadotdev/cepiigravity")

The main source to obtain the data in this package is:

Conte, M., Cotterlaz, P. & Mayer, T. (2021). The CEPII Gravity Database. CEPII Working Paper 2022-05.