unsf: Convert sf objects to normal data.frames with longitude and...

Description Usage Arguments Value

View source: R/utils.R

Description

Convert sf objects to normal data.frames with longitude and latitude colu,ns

Usage

1
unsf(x, coord_names = c("lon", "lat"))

Arguments

x

an sf::sf object

coord_names

character vector of length 2. The names of the new that should contain the coordinates from the geometry column of x.

Value

a data.frame


s-fleck/quickmap documentation built on July 10, 2021, 6:55 a.m.