https://github.com/ropensci/rfishbase
Raw File
Tip revision: f50388553dda4a604c83d8a4690406bf161c5e7e authored by Carl Boettiger on 31 August 2024, 00:18:27 UTC
avoid revdep warning by exporting instead of alias
Tip revision: f503885
spawning.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/reproduction.R
\name{spawning}
\alias{spawning}
\title{spawning}
\usage{
spawning(
  species_list = NULL,
  fields = NULL,
  server = getOption("FISHBASE_API", "fishbase"),
  version = get_latest_release(),
  db = default_db(server, version),
  ...
)
}
\arguments{
\item{species_list}{A vector of scientific names (each element as "genus species"). If empty, a table for all fish will be returned.}

\item{fields}{a character vector specifying which fields (columns) should be returned. By default,
all available columns recognized by the parser are returned.  Mostly for backwards compatibility as users can subset by column later}

\item{server}{can be set to either "fishbase" or "sealifebase" to switch between databases. NOTE: it is usually
easier to leave this as NULL and set the source instead using the environmental variable `FISHBASE_API`, e.g.
`Sys.setenv(FISHBASE_API="sealifebase")`.}

\item{version}{a version string for the database, will default to the latest release. see [get_releases()] for details.}

\item{db}{the}

\item{...}{unused; for backwards compatibility only}
}
\value{
a table of species spawning
}
\description{
spawning
}
\examples{
\dontshow{if (interactive() ) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf}
\dontrun{
spawning("Oreochromis niloticus")
}
\dontshow{\}) # examplesIf}
}
back to top