The Gleditsch-Ward (cShapes 2.0 version) code in each grid-cell
Source:R/data_cshapes.R
cshapes_gwcode.Rd
Uses max area for cells with multiple countries. If actual tie, the algorithm will use the lowest index.
Usage
cshapes_gwcode(measurement_date, cshp = read_cshapes())
Arguments
- measurement_date
A single date as Date object
- cshp
The CShapes dataset, for instance as given by
read_cshapes()
References
Schvitz G, Girardin L, Rüegger S, Weidmann NB, Cederman L, Gleditsch KS (2022). “Mapping the International System, 1886-2019: The CShapes 2.0 Dataset.” Journal of Conflict Resolution, 66(1), 144–161. ISSN 0022-0027, doi:10.1177/00220027211013563 , 2024-11-22.