Convenience function to read ichthyoplankton (fish larvae) data from the
CalCOFI database. The data is stored in the ichthyo table.
cc_read_ichthyo(..., version = "latest", collect = TRUE)
cc_read_larvae(..., version = "latest", collect = TRUE)Additional filter expressions passed to dplyr::filter()
Database version (default: "latest")
If TRUE, collect results into memory. If FALSE, return lazy dbplyr table (default: TRUE)
Tibble of ichthyo data (if collect=TRUE) or lazy table
if (FALSE) { # \dontrun{
# get first 100 ichthyo records
ichthyo <- cc_read_ichthyo() |> head(100)
# get specific species (lazy query)
anchovy <- cc_read_ichthyo(species_id == 19, collect = FALSE)
} # }