cshapes
package facilitates the use of CShapes from R. CShapes is a GIS dataset of historical country boundaries (1946-2012) and compatible with two country lists (Gleditsch and Ward 1999 and Correlates of War, see references below). In particular, the package enables access to the
dataset directly, as well as distance computations on country polygons for specific points in time. Access to the dataset from within R is done using the
cshp
function. Two functions exist to compute minimum-, capital- and centroid distances between countries: the distmatrix
function returns these as a matrix (convenient for many spatial statistical applications), and the distlist
function returns a list of dyadic distances (distances between country pairs).
See the examples given in the documentation of the functions in this package. The main cshapes website is located at For more information on the CShapes dataset, see Weidmann, Nils B., Doreen Kuse and Kristian Skrede Gleditsch. 2010. "The Geography of the International System: The CShapes Dataset." International Interactions 36(1).
The associated R package is introduced in Weidmann, Nils B. and Kristian Skrede Gleditsch. 2010. "Mapping and Measuring Country Shapes: The cshapes Package." R Journal 2(1). Available online at
Gleditsch, Kristian S. & Michael D. Ward. 1999. "Interstate System Membership: A Revised List of the Independent States since 1816." International Interactions 25: 393-413.
Online,