Download species' habitat information from the IUCN RedList online database (No longer supported)
Source:R/lets_iucn_habitats.R
lets.iucn.ha.RdGet species' habitat information from the IUCN RedList website(https://www.iucnredlist.org/) for one or more species.
Arguments
- input
Character vector with one or more species names, or an object of the
PresenceAbsenceclass.- count
Logical, if
TRUEa counting window will open.
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.
Examples
if (FALSE) { # \dontrun{
# Single species
lets.iucn.ha("Pongo pygmaeus")
# Multiple species
sp <- c("Musonycteris harrisoni", "Ailuropoda melanoleuca",
"Cebus flavius")
lets.iucn.ha(sp)
} # }