Learn R Programming

red (version 1.6.1)

records: Download taxon records from GBIF.

Description

Downloads species or higher taxon data from GBIF and outputs non-duplicate records with geographical coordinates.

Usage

records(taxon)

Value

A data.frame with longitude and latitude, plus species names if taxon is above species.

Arguments

taxon

Taxon name.

Details

As always when using data from multiple sources the user should be careful and check if records "make sense". This can be done by either ploting them in a map (e.g. using red::map.draw()) or using red::outliers().

Examples

Run this code
rec = records("Nephila senegalensis")
plot(rec)

Run the code above in your browser using DataLab