update misc code formatting

This commit is contained in:
2025-07-16 22:19:19 -04:00
parent 3efbf9abf3
commit bbc1751e02
2 changed files with 81 additions and 231 deletions
+5
View File
@@ -77,6 +77,11 @@ view.all_conus_landfalls <- tbl(con, "all_conus_landfalls")
# helper functions
# disconnect db connection
disconnect_db <- function() {
dbDisconnect(con)
}
# splits full_lf_id into lf_type and lf_id
split_full_lf_id <- function(full_lf_id) {
lf_type = gsub('[0-9]+', '', full_lf_id)