Skip to content

Commit

Permalink
🤖
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Jan 7, 2025
1 parent e0df861 commit 179db2b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion app.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ ui <- page_sidebar(
col_widths = c(11, 1)),
fill = FALSE
),

textOutput("agent"),


layout_columns(
card(maplibreOutput("map")),
card(includeMarkdown("## Plot"),
Expand Down Expand Up @@ -162,7 +166,7 @@ server <- function(input, output, session) {


y_axis <- colnames(df)[!colnames(df) %in% colnames(svi)]
chart2 <- df |>
chart2 <- df |>
rename(social_vulnerability = y_axis) |>
ggplot(aes(social_vulnerability)) +
geom_density(fill = "darkred") +
Expand All @@ -173,6 +177,9 @@ server <- function(input, output, session) {

# We need to somehow trigger this df to update the map.
data$df <- df
} else {
output$agent <- renderText(response$agent)

}

})
Expand Down

0 comments on commit 179db2b

Please sign in to comment.