Convenience function to read ichthyoplankton (fish larvae) data from the
CalCOFI database. The data is stored in the ichthyo table.
Usage
cc_read_ichthyo(..., version = "latest", collect = TRUE)
cc_read_larvae(..., version = "latest", collect = TRUE)Arguments
- ...
Additional filter expressions passed to
dplyr::filter()- version
Database version (default: "latest")
- collect
If TRUE, collect results into memory. If FALSE, return lazy dbplyr table (default: TRUE)
Examples
if (FALSE) { # \dontrun{
# get first 100 ichthyo records
ichthyo <- cc_read_ichthyo() |> head(100)
# retired: filters see the core schema now (taxon_key, not species_id)
anchovy <- cc_read_obs(taxon_key == "worms:272286", realm = "bio",
datasets = "swfsc_ichthyo", collect = FALSE)
} # }