ornitho2df: Conversion between Lists and Data Frames

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

View source: R/ornitho2df.R

Description

A list of ornithoSpec objects is converted into a data frame and vice versa.

Usage

1
2
3

Arguments

ornitho

a list, whose elements are objects of class ornithoSpec.

df

a data frame, must contain columns named "scientific.name", "vernacular.name", and "phenology".

Value

a data frame with 29 columns:

scientific.name

the scientific name

vernacular.name

the vernacular name (in German)

phenology

phenology, one of "Standvogel", "Wintergast", "Teil- und Kurzstreckenzieher", "Langstreckenzieher", "Durchzuegler", "Seltenheit".

date
day
month
year
yday
pentade
decade
week
place
county
country
x
y
count
detail

Author(s)

Christoph Heibl

References

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

See Also

read.ornitho for reading ornitho data; ornithoPDF for plotting ornitho data.

Examples

1
2
3
4
data(amsel)
amsel.df <- ornitho2df(amsel)
table(amsel.df$scientific.name)
df2ornitho(amsel.df)

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