make_spatial_sf: Update the spatial cubble to include the sf class

View source: R/sf.R

make_spatial_sfR Documentation

Update the spatial cubble to include the sf class

Description

add geometry list column to cubble_df object

Usage

make_spatial_sf(x, sfc = NULL, crs, silent = FALSE)

Arguments

x

object of class spatial_cubble_df

sfc

object of class sfc (see package sf)

crs

object of class crs (see package sf); if missing 'OGC:CRS84' is assumed (WGS84) and a message is emitted

silent

logical; suppress message?

See Also

make_temporal_tsibble

Examples

climate_mel |> make_spatial_sf()

cubble documentation built on Sept. 11, 2024, 7:19 p.m.