R/utils.R
unsf.Rd
Convert sf objects to normal data.frames with longitude and latitude colu,ns
unsf(x, coord_names = c("lon", "lat"))
an sf::sf object
sf::sf
character vector of length 2. The names of the new that should contain the coordinates from the geometry column of x.
character
2
x
a data.frame
data.frame