knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

AppVeyor Build Status Travis-CI Build Status Coverage Status CRAN_Status_Badge

rartenfinder

R Client for the artenfinder API (http://artenfinder.rlp.de)

Installation

Development version from GitHub

install.packages("devtools")
devtools::install_github("EDiLD/rartenfinder")
library('rartenfinder')
library('dplyr')

Usage

Query metadata

Available taxagroups

get_taxagroups() %>%
  head()

Available taxa

List all available taxa
get_taxa() %>%
  head() %>%
  select(-eu_guid, gid)
Query taxa by regex:
get_taxa(name_regexp_ci = '^Udea.*$') %>%
  head() %>%
  select(-eu_guid, gid)
Query taxa by group
get_taxa(taxagroup = 'Flechten') %>%
  head() %>%
  select(-eu_guid, -gid)

Query observations

get_observations(scientific_name = 'milvus milvus', year = 2017) %>%
  head() %>%
  select(id, lat, lon, datum)

Plotting

Phenogram

df <- get_observations(scientific_name = 'Gonepteryx rhamni', year = 2017)
plot_phaenogram(df, 'weekly')

Interactive map

plot_mapview(df)


EDiLD/rartenfinder documentation built on May 18, 2019, 8:11 p.m.