Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
emmamendelsohn committed Dec 20, 2023
1 parent d0f786a commit e6c6275
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/eda/app.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
library(shiny)
library(leaflet)
library(targets)

library(arrow)
library(tidyverse)

# Setup -------------------------------------------------------------------

Expand Down Expand Up @@ -210,7 +211,7 @@ server <- function(input, output) {
})

pal <- reactive({
get(glue::glue("pal_{input$selected_dataset}_anomalies"))
get(glue::glue("pal_{input$selected_dataset}_anomalies"))
})

dom <- reactive({
Expand Down Expand Up @@ -241,14 +242,14 @@ server <- function(input, output) {
output$anomalies_map_90 <- renderLeaflet({

create_arrow_leaflet(conn = conn(),
field = paste0("anomaly_", input$selected_dataset, "_30"),
field = paste0("anomaly_", input$selected_dataset, "_90"),
selected_date = input$selected_date,
palette = pal(),
domain = dom(),
include_legend = FALSE)

})


}

Expand Down

0 comments on commit e6c6275

Please sign in to comment.