ps_longlat_to_sfc | R Documentation |
Assumes Longitude and Latitude are in WGS84.
ps_longlat_to_sfc(x, sfc_name = "geometry", activate = TRUE)
x |
The object with columns Latitude and Longitude. |
sfc_name |
A string of the name of the sfc column to create. |
activate |
A flag indicating whether to activate the sfc. |
The modified object with Longitude and Latitude removed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.