Screw-traps and temp loggers in Idaho
p_load(writexl, tidyverse, mapview,leaflet)
traps <- read_excel('IDFGTempLoggerSitesUpdated.xlsx', "traps")
loggers <- read_excel('IDFGTempLoggerSitesUpdated.xlsx', "loggers")
traps <- traps[,c(1,3:5)]
# make traps sf object:
mvtraps <- st_as_sf(traps,
# coords = c("Lon", "Lat"),
coords = c(4, 3), # can use numbers here too
remove = F, # don't remove these lat/lon cols from df
crs = 4326) # add projection (this is WGS84)
# make traps sf object:
mvloggers <- st_as_sf(loggers,
# coords = c("Lon", "Lat"),
coords = c(3, 2), # can use numbers here too
remove = F, # don't remove these lat/lon cols from df
crs = 4326) # add projection (this is WGS84)