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
This commit is contained in:
2026-03-09 10:38:21 -04:00
parent 623754358b
commit 43552a937e
38 changed files with 6749 additions and 96 deletions

View File

@@ -0,0 +1,24 @@
# create_geometry_lookup.R
# One-time script. Extracts account_number -> geometry from the manually
# corrected QGIS file and saves as a stable lookup table.
# Re-run only if geometry ever needs to be corrected.
# Output: data-raw/addresses/geometry_lookup.rds
library(sf)
library(dplyr)
raw <- st_read(
"./data-raw/addresses/owners_moved.gpkg",
layer = "owners_raw",
quiet = TRUE
)
cat("Columns:", paste(names(raw), collapse = ", "), "\n")
lookup <- raw |>
select(account_number)
cat("Lookup rows:", nrow(lookup), "\n")
cat("Any duplicate account numbers:", anyDuplicated(lookup$account_number) > 0, "\n")
saveRDS(lookup, "./data-raw/addresses/geometry_lookup.rds")
cat("Saved to data-raw/addresses/geometry_lookup.rds\n")