lets.iucn.ha: Download species' habitat information from the IUCN RedList...

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

View source: R/lets_iucn_habitats.R

Description

Get species' habitat information from the IUCN RedList website(http://www.iucnredlist.org/) for one or more species.

Usage

1
lets.iucn.ha(input, count = FALSE)

Arguments

input

Character vector with one or more species names, or an object of the PresenceAbsence class.

count

Logical, if TRUE a counting window will open.

Details

Note that you must be connected to the internet to use this function.

Value

A data frame with species names in the first column and the habitats where it occurs in the remaining columns, '1' if species is present in that habitat and '0' otherwise.

Author(s)

Bruno Vilela

See Also

lets.iucn

lets.iucn.his

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
# Single species
lets.iucn.ha("Pongo pygmaeus")

# Multiple species
sp <- c("Musonycteris harrisoni", "Ailuropoda melanoleuca",
        "Cebus flavius")
lets.iucn.ha(sp)

## End(Not run)

letsR documentation built on June 20, 2017, 9:08 a.m.