mirror of
https://github.com/dylanbenzi/hurricane_normalization_app.git
synced 2026-07-29 21:01:27 +00:00
update get_latest_aggregate_losses query
This commit is contained in:
@@ -93,7 +93,7 @@ get_latest_aggregate_losses <- function() {
|
||||
mutate(
|
||||
ncei_priority = case_when(
|
||||
str_like(base_loss_source, "%ncei%") ~ 1,
|
||||
str_like(base_loss_source, "%ncei%") ~ 2,
|
||||
str_like(base_loss_source, "%mwr%") ~ 2,
|
||||
TRUE ~ 3
|
||||
)
|
||||
) %>%
|
||||
@@ -347,7 +347,7 @@ async_db_query <- function(query_func, ...) {
|
||||
do.call(query_func, args)
|
||||
}
|
||||
},
|
||||
environment()
|
||||
environment()
|
||||
)
|
||||
|
||||
return(mirai_call)
|
||||
|
||||
Reference in New Issue
Block a user