Skip to content

Commit

Permalink
Removed URL creaton in downloadhandler
Browse files Browse the repository at this point in the history
  • Loading branch information
fontikar committed Feb 28, 2024
1 parent 81199c2 commit 1b09a03
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions R/server.R
Original file line number Diff line number Diff line change
Expand Up @@ -353,16 +353,7 @@ infinity_server <- function(...) {
},
content = function(file) {
data <- intersect_data()
data$`Voucher Location` = ifelse(
grepl("https", data$`Voucher Location`),
data$`Voucher Location`
,
paste0(
"https://biocache.ala.org.au/occurrences/",
data$`Record Id`
)
)

# Fixing the date
collectionDate_partial = lubridate::ymd_hms(data$`Collection Date`, tz = "UTC", quiet = TRUE)
collectionDate_all = dplyr::if_else(
is.na(collectionDate_partial),
Expand Down

0 comments on commit 1b09a03

Please sign in to comment.