| check_iucn_status | R Documentation |
A warning is raised if a item in statuses is not found. This item
is removed from the vector. If none of the items are valid, raise an error.
check_iucn_status(statuses)
statuses |
A character vector of the IUCN Conservation Statuses. |
Argument statuses is a vector containing one or several of the
following:
"CR" | Critically Endangered |
"EN" | Endangered |
"VU" | Vulnerable |
"NT" | Near Threatened |
"LC" | Least Concern |
"EX" | Extinct |
"EW" | Extinct in the Wild |
"DD" | Data Deficient |
valid A character vector of valid items in statuses.
Joona Lehtomaki <joona.lehtomaki@gmail.com>
## Not run:
check_iucn_status("EN")
check_iucn_status(c("EN", "VU"))
# Gives a warning
check_iucn_status(c("EN", "BB"))
# Fails
check_iucn_status("ENX")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.