From dd7566ef8ec2f6b2e2d792fcd07b19d4925b3ffe Mon Sep 17 00:00:00 2001 From: Rob Wiederstein Date: Fri, 13 Mar 2026 09:02:22 -0400 Subject: [PATCH] Fix: hardcode subdivision choices to remove runtime data dep in UI --- R/app_ui.R | 6 +++++- app.R | 3 --- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/R/app_ui.R b/R/app_ui.R index 10ade2c..dc013a0 100644 --- a/R/app_ui.R +++ b/R/app_ui.R @@ -134,7 +134,11 @@ create_ui <- function() { f7Select( inputId = "sub_name", label = "Select Subdivision:", - choices = c("All", sort(sbdvn$sub_name)) + choices = c("All", "FAIRWAY GLEN", "GARDENS 1", "GARDENS 2", + "GARDENS 3", "GARDENS 4", "PATIOS 1", "PATIOS 2", + "PATIOS 3", "STRATFORD GLENN", "TERRACE HOMES", + "TERRACE VILLAS", "VILLAS 1 ST", "VILLAS 2", + "WEST LAKE GARDENS") ), tags$br(), f7Button( diff --git a/app.R b/app.R index 4618fe5..346fef0 100644 --- a/app.R +++ b/app.R @@ -17,9 +17,6 @@ source("./R/config.R") source("./R/app_ui.R") source("./R/app_server.R") -# Load data needed at UI construction time -sbdvn <- sf::st_read(app_config$data_paths$plats) - # Create the app ui <- create_ui() server <- create_server