# 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.