cshp {cshapes} | R Documentation |
Access the CShapes dataset in R
Description
Access the CShapes dataset in R
Usage
cshp(date = NA, useGW = TRUE, dependencies = FALSE)
Arguments
date |
The date for which the cshapes polygons should be extracted. This argument must be of type Date and must be in the range 1/1/1886 - end of the dataset. If omitted, the complete dataset is returned. |
useGW |
Boolean argument specifying the system membership coding. TRUE: Gleditsch and Ward (GW, default). FALSE: Correlates of War (COW). |
dependencies |
Boolean argument specifying whether dependent territories must be included. TRUE: Returns polygons for both independent states and dependent units. FALSE: Returns polygons for indepdendent states only (default). |
Value
A sf
dataframe containing the complete CShapes dataset, or the CShapes snapshot for the specified date.
[Package cshapes version 2.0 Index]