names_list: Get a random vector of species names.

View source: R/names_list.r

names_listR Documentation

Get a random vector of species names.

Description

Family and order names come from the APG plant names list. Genus and species names come from Theplantlist.org.

Usage

names_list(rank = "genus", size = 10)

Arguments

rank

(character) Taxonomic rank, one of species, genus (default), family, order

size

(integer/numeric) Number of names to get. Maximum depends on the rank

Value

character vector of taxonomic names

Author(s)

Scott Chamberlain

Examples

names_list()
names_list('species')
names_list('genus')
names_list('family')
names_list('order')
names_list('order', 2)
names_list('order', 15)

# You can get a lot of genus or species names if you want
nrow(theplantlist)
names_list('genus', 500)

taxize documentation built on Sept. 11, 2024, 6:13 p.m.