Skip to content

Instantly share code, notes, and snippets.

# So this is just a test to see the fastests way to go from a dataframe with
# two coordinates per row (split into 4 columns - 2 for x and 2 for y) to a
# linestring for each set of coordinates.
# minimal example.
library(sfheaders)
library(wk)
library(sf)
library(tidyverse)