Convenience function to read bottle sample data from the CalCOFI database.
cc_read_bottle(version = "latest", collect = TRUE, ...)Database version (default: "latest")
If TRUE, collect results into memory. If FALSE, return lazy dbplyr table (default: TRUE)
Additional filter expressions passed to dplyr::filter()
Tibble of bottle data (if collect=TRUE) or lazy table
if (FALSE) { # \dontrun{
# get all bottle data
bottles <- cc_read_bottle()
# filter by depth
shallow <- cc_read_bottle(depth_m < 100)
} # }