Replication data for spatial gravity analysis and R script to build dyadic data sets for spatial gravity models
Paper using the data: http://bit.ly/2DrfUAb
Contains the full R script for visualizing and analyzing spatial gravity models.
Contains the R script for building dyadic data sets for spatial gravity models (including identity and connectivity matrices) using
- CEPII gravity data: http://www.cepii.fr/anglaisgraph/bdd/gravity/gravdata_cepii.zip
- CEPII distance data: http://www.cepii.fr/CEPII/en/bdd_modele/presentation.asp?id=6
- Correlates of War trade data: http://correlatesofwar.org/data-sets/bilateral-trade
- shapefiles from rworldmap package