read.ornitho: Read ORNITHO Data

Description Usage Arguments Details Value Author(s) References See Also

View source: R/read.ornitho.R

Description

Read in the output of the online export from the ornitho homepage based on read.csv2.

Usage

1
2
read.ornitho(file, subsp = NULL, family = NULL, 
    phenology = NULL, rm.abs = TRUE)

Arguments

file

a character string giving the name of the (plain text) file including the suffix ".txt".

subsp

a character string giving the latin binomial (e.g. "Carduelis flammea") of the species that should be treated on a subspecies level. Note that this will omit all those observations that are not determined to subspecies level.

family

a character string giving the families the set of species should be limited to.

phenology

a character string giving the phenological behaviour the set of species should be limited to. Possible choices are "Standvogel", "Wintergast", "Seltenheit", "Durchzügler", "Teil- und Kurzstreckenzieher", "Langstreckenzieher", or any combination thereof.

rm.abs

logical, if TRUE (default) observations with 0 number of individuals are removed.

Details

read.ornitho matches the scientific names found in the plain text file with a set of 'canonical' names defined in data(def). Other scientific names encountered are mostly not determined to the species level and will be ignored. If this happen, read.ornitho will issue a message and print a file names "ignored.txt" to the current working directory with the scientific and vernacular names of the ignored, ie. removed, observations.

Value

a list whose elements are objects of class ornithoSpec.

Author(s)

Simon Thorn & Christoph Heibl

References

The German ornitho website: http://www.ornitho.de/

See Also

ornithoPDF for the user-level plotting function.


heibl/rornitho documentation built on May 17, 2019, 3:22 p.m.