cshapes_cover: Whether or not a grid-cell intersects with the international...

View source: R/data_cshapes.R

cshapes_coverR Documentation

Whether or not a grid-cell intersects with the international state system (cShapes 2.0)

Description

Takes the cShapes data and returns a raster-mask that is true for the grid cells that intersects with country borders included in the international state system at the measurement_date

Usage

cshapes_cover(measurement_date, min_cover = 0, cshp = read_cshapes())

Arguments

measurement_date

A single date as Date object

cshp

The CShapes dataset, for instance as given by read_cshapes()

References

\insertRef

schvitzMappingInternationalSystem2022priogrid

Examples

# cshapes_cover_one_cross_section <- cshapes_cover(as.Date("2010-01-01"))

prio-data/priogrid documentation built on June 14, 2025, 11:06 p.m.