add_lonlat: Add columns lon and lat from an sf object

View source: R/add_lonlat.R

add_lonlatR Documentation

Add columns lon and lat from an sf object

Description

I don't think there's a native option for this

Usage

add_lonlat(x, drop_geom = FALSE)

Arguments

x

an sf object

drop_geom

FALSE run st_drop_geometry() to return only a tibble?

Value

sf object or tibble with added columns 'lon' and 'lat'


Sz-Tim/sevcheck documentation built on Feb. 1, 2024, 12:39 a.m.