Skip to content

Commit

Permalink
update bacdive
Browse files Browse the repository at this point in the history
  • Loading branch information
sdgamboa committed Sep 20, 2023
1 parent 12b671e commit ed8b40f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions R/bacdive.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,12 @@
.importBacDiveExcel <- function(verbose = FALSE) {
if (verbose)
message('Importing BacDive...')
url <- 'https://docs.google.com/spreadsheets/d/1smQTi1IKt4wSGTrGTW25I6u47M5txZkq/export?format=csv'
bacdive_data <- .cleanBD(utils::read.csv(url))
bacdive_data
# url <- 'https://docs.google.com/spreadsheets/d/1smQTi1IKt4wSGTrGTW25I6u47M5txZkq/export?format=csv'
url <- 'https://docs.google.com/spreadsheets/d/1P4Ic6-N9GVXcX1CdfoamFt6eozfHqt-sxfIRTBvYHWk/export?format=csv'
# bacdive_data <- .cleanBD(utils::read.csv(url))
bacdive <- utils::read.csv(url)
colnames(bacdive) <- tolower(colnames(bacdive))
return(bacdive)
}

## Helper function for .getBacDive
Expand Down

0 comments on commit ed8b40f

Please sign in to comment.