mirror of
https://github.com/dylanbenzi/hurricane_normalization_app.git
synced 2026-07-30 05:08:57 +00:00
add downloadable datasets ui
This commit is contained in:
+5
-4
@@ -27,6 +27,7 @@ library(shinyWidgets)
|
||||
library(paletteer)
|
||||
library(shinyjs)
|
||||
library(quarto)
|
||||
library(bsicons)
|
||||
|
||||
APP_DIR <- getwd()
|
||||
|
||||
@@ -79,10 +80,10 @@ storm_coverage <- get_storm_data_coverage() %>%
|
||||
has_cost_data
|
||||
)
|
||||
|
||||
dt_yr_range <- range(storm_coverage$storm_year, na.rm = TRUE)
|
||||
dt_death_max <- max(storm_coverage$total_direct_deaths, na.rm = TRUE)
|
||||
dt_mmh_max <- max(storm_coverage$mmh, na.rm = TRUE)
|
||||
dt_mmp_max <- max(storm_coverage$mmp, na.rm = TRUE)
|
||||
dt_yr_range <- range(storm_coverage$storm_year, na.rm = TRUE)
|
||||
dt_death_max <- max(storm_coverage$total_direct_deaths, na.rm = TRUE)
|
||||
dt_mmh_max <- max(storm_coverage$mmh, na.rm = TRUE)
|
||||
dt_mmp_max <- max(storm_coverage$mmp, na.rm = TRUE)
|
||||
|
||||
onStop(function() {
|
||||
poolClose(con)
|
||||
|
||||
Reference in New Issue
Block a user