taxize (version 0.9.99)

names_list: 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

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab