getDistribution: Obtatin the species distribution for a species.

Description Usage Arguments Details Value Note

View source: R/getDistribution_fun.R

Description

getDistribution obtain the IUCN distribution for a mammaian species.

Usage

1
getDistribution(path.to.data, species)

Arguments

path.to.data

a path to the IUCN MAMMTERR data source.

species

binomial latin name (or list of names) as a character string.

Details

The IUCN MAMMTERR data set includes distribution shapefiles for most terrestial mammals however they are not without their flaws so use accordingly. Data can be sourced from http://www.iucnredlist.org/technical-documents/spatial-data

Value

Returns a named shapefile(s) of the speceies input to the global environment

Note

This may take a while as the IUCN database is large. May be a point to fix in the future.

#@example TODO? is it needed


cReedHranac/batwintor documentation built on Jan. 27, 2020, 7:39 p.m.