TheTS / palmsplusr

palmsplusr: PALMS post-processing
http:/thets.github.io/palmsplusr/
GNU Lesser General Public License v3.0
5 stars 1 forks source link

Create a read_palms function with sanity checks #2

Closed TheTS closed 6 years ago

TheTS commented 6 years ago

Basically combine these steps, with column name checks:

palms <- read_csv(system.file("extdata", "one_participant.csv", package = "palmsplusr"))
palms <- st_as_sf(palms, coords = c("lon", "lat"), crs = 4326)