get_info: Add authorship and attributes to a species list

View source: R/get_info.R

get_infoR Documentation

Add authorship and attributes to a species list

Description

Author names and species attributes of species lists downloaded by conosur_species() need to be requested in specific pages.

Usage

get_info(x, ...)

## S3 method for class 'cs_species'
get_info(x, subset, progress = TRUE, ...)

Arguments

x

A cs_species object.

...

Further arguments passed among methods.

subset

An expression selecting a subset of rows for retrieving the information. This can be useful if a previous run had failed in some species.

progress

A logical value indicating whether a progress bar should be displayed or not.

Value

A cs_species object with additional columns named AuthorName (species name authorship), status (native or non-native), life_form, elevation_min and elevation_max.

Author(s)

Miguel Alvarez, kamapu78@gmail.com

Examples

## List for letter K
splist <- conosur_species(letter = "K")[1:5, ]
splist <- get_info(splist)


kamapu/conosur documentation built on Sept. 28, 2022, 9:06 p.m.