| st_as_sf {csquares} | R Documentation | 
Create a simple features object from c-squares
Description
Converts a character string of c-squares in a spatially explicit simple features object
(sf. It can also convert data.frames with a column of c-squares codes to
an sf object.
Usage
st_as_sf.csquares(x, ..., use_geometry = TRUE)
st_as_sfc.csquares(x, ..., use_geometry = TRUE)
Arguments
x | 
 A   | 
... | 
 Ignored  | 
use_geometry | 
 If   | 
Value
In case of st_as_sfc.csquares a list of geometries (sfc,
(MULTI)POLYGONS) is returned. In case of st_as_sf.csquares an object of class
(sf) is returned.
Author(s)
Pepijn de Vries
Examples
library(sf)
st_as_sfc(as_csquares("7500:110:3|7500:110:1|1500:110:3|1500:110:1"))
st_as_sf(as_csquares("7500:110:3|7500:110:1|1500:110:3|1500:110:1"))