Description Usage Arguments Value
View source: R/traviz-methods.R
Get XY coordinates from sf object (taken from jmlondon at https://github.com/r-spatial/sf/issues/231)
1 | sfc_as_cols(x, names = c("x", "y"))
|
x |
data frame in sf format |
names |
names to name XY columns |
data frame with XY columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.