Files
stAndrews/data-raw/create_venice_bndry.R
Rob Wiederstein 05e2aba34c Add deployment pipeline and clean up repo
- Add Dockerfile, docker-compose.yml, .dockerignore, .env (port 3842)
- Add Caddyfile.snippet for analytics gateway import pattern
- Add .gitea/workflows/deploy.yaml for act_runner SSH deploy
- Untrack sensitive/data files (SCPA xlsx, owners.rds)
- Add renv lockfile and infrastructure files
- Reorganize data-raw scripts and add SarasotaCounty boundary data
- Move www assets to www/images/, add docs PDFs
2026-03-09 10:38:21 -04:00

16 lines
439 B
R

library(rmapshaper)
library(dplyr)
library(sf)
library(leaflet)
library(sfheaders)
df <- st_read("./data-raw/SarasotaCountyBoundary/") %>%
filter(municipali == "CV") %>%
filter(acreage > 2500) %>%
ms_simplify(keep = .025) %>%
mutate(geometry = sfheaders::sf_remove_holes(geometry)) %>%
sf::st_transform(crs = 4326) %>%
mutate(label = "City of Venice", .before = boundarycl) %>%
saveRDS(., file = "./data/venice.rds")