getBirds | R Documentation |
Returns bird monitoring data from the Birds
slot of an NCRNbirds
object.
getBirds(
object,
points = NA,
AOU = NA,
years = NA,
min.count = NA,
max.count = NA,
band = NA,
interval = NA,
visits = NA,
times = NA,
reps = NA,
flyover = FALSE,
gender = NA,
first3min = FALSE,
incidental = FALSE,
juvenile = FALSE,
output = "dataframe"
)
object |
An NCRNbirds object or a list of such objects. |
points |
A character vector. The names of one or more points where the data was collected. |
AOU |
A character vector. One or more AOU (American Onothological Union) codes of bird species. |
years |
A vector of numbers. Will return only data from the indicated years. |
min.count |
A numeric vector of length one. Will only return data with a bird count equal to or geater than |
max.count |
A numeric vector of length one. Will only return data with a bird count equal to or less than |
band |
A numeric vector. Only observations whose |
interval |
A numeric vector. Only observations whose |
visits |
A length 1 numeric vector, defaults to |
times |
A numeric vector of length 1. Returns only data from points where the number of years that a point has been visited is greater or equal
to the value of |
reps |
A numeric vector of length 1. Defaults to NA. Returns only data from points where the number of years that a point has been
visited is greater or equal to the valuemax,site,dist,wind,sky, of |
flyover |
Logical. |
gender |
Character. Defaults to selecting all detected individuals. Options to filter by gender are "Male", "Female", "Undetermined". |
first3min |
Logical. If |
incidental |
Logical. |
juvenile |
Logical. |
output |
Either "dataframe" (the default) or "list". Note that this must be in quotes. Determines the type of output from the function. |
Returns the data from the Birds
slot of a single NCNRbirds
object or a list
of such objects. The data can be
filtered using the various arguments. The default output is adata.frame
. However, if object
is a list
and output
is "list"
then a list
of data.frame
s will be returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.