sf_points_to_df | R Documentation |
Adds the coordinates of an sf POINT object as columns
sf_points_to_df(
pts_sf,
coord_colnames = c("stop_lon", "stop_lat"),
remove_geometry = TRUE
)
pts_sf |
sf object |
coord_colnames |
names of the new columns (existing columns are overwritten) |
remove_geometry |
remove sf geometry column? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.