R/write-lvl2-shp.R

# This file writes our data to a shapefile for Cory to assign population density values.
library(sf)
library(dplyr)

# Creates a folder to hold shapefile to be written.
dir.create("outputs/datasets/lvl2inatobs")

lvl2 %>% 
st_write(dsn = "outputs/datasets/lvl2inatobs/lvl2inat.shp") # Writes lvl2 sf object into shapefile in new folder.
iozeroff/cncpointR documentation built on Feb. 4, 2020, 6:18 p.m.