cshp: Access the CShapes dataset in R

Description Usage Arguments Value

View source: R/cshp.R

Description

Access the CShapes dataset in R

Usage

1
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.


cshapes documentation built on June 5, 2021, 5:06 p.m.

Related to cshp in cshapes...