check_species: Check for available distribution data

Description Usage Arguments Details Value References Examples

Description

This function will compare the species or genera in your species list with the entries of the FLORKART-database and returns the matching entries.

Usage

1
check_species(x, level = "species")

Arguments

x

A data.frame with one column containing the species names in the format 'genus_epithet'.

level

A character string describing wether the check should be conducted on the "species" or "genus" level.

Details

If input data consists only of genus names the function will call level = "genus".

Value

Returns a data frame containing the matching taxon number and species names of x in the FloraWeb database. Mismatches are saved in the attributes of the data frame. The output can be modified and used in get.dist with input = TRUE.

References

Datenbank FLORKART der Floristischen Kartierung Deutschlands, Stand 2013, Bundesamt fuer Naturschutz (BfN) und Netzwerk Phytodiversitaet Deutschland (NetPhyD): http://www.floraweb.de

Examples

1
2
3
4
5
6
7
## Not run: 
library("distdrawr")
specieslist <- data.frame(c("Bellis_perennis","Taraxacum_officinale",
                            "Capsella_bursa-pastoris"))
check_species(specieslist, level="species")

## End(Not run)

Example output

Welcome to distdrawr. This is version 0.1.2. Please visit http://www.floraweb.de for more information
                        on the sources of the plant data included in the package.
1 input entries without matching data. For more information use attributes()$mismatches
  NAMNR                           species
1   814                Bellis perennis L.
2  1091 Capsella bursa-pastoris (L.) Med.

distdrawr documentation built on May 1, 2019, 10:55 p.m.