Retrieve species assessments by phylum.
If phylum_name = NULL
, it returns a list of available phyla.
If phylum_name
is provided, it retrieves assessments for species in the specified phylum.
Usage
rl_phylum(
phylum_name = NULL,
year_published = NULL,
latest = NULL,
scope_code = NULL,
page = 1
)
Arguments
- phylum_name
Character. The phylum name (e.g., "Chordata"). Use
rl_phylum()
to list available phyla.- year_published
Optional. Single or numeric vector of years to filter assessments by publication year.
- latest
Optional. Logical. If
TRUE
, return only the latest assessment per species.- scope_code
Optional. Character. One or more scope codes to filter assessments.
- page
Optional. Integer vector. Specify one or more page numbers to fetch. If
NULL
orNA
, all pages will be fetched automatically.