Retrieve all taxa names or TSNs downstream in hierarchy from given TSN.

Usage

itis_downstream(tsns, downto)

Arguments

tsns
A taxonomic serial number.
downto
The taxonomic level you want to go down to. See examples below. The taxonomic level IS case sensitive, and you do have to spell it correctly. See data(rank_ref) for spelling.

Value

Data.frame of taxonomic information downstream to family from e.g., Order, Class, etc.

Description

Retrieve all taxa names or TSNs downstream in hierarchy from given TSN.

Examples

itis_downstream(tsns=846509, downto="Genus")
http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=846509 http://www.itis.gov/ITISWebService/services/ITISService/getHierarchyDownFromTSN?tsn=846509 http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=11490 http://www.itis.gov/ITISWebService/services/ITISService/getHierarchyDownFromTSN?tsn=11490 http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=11530 http://www.itis.gov/ITISWebService/services/ITISService/getHierarchyDownFromTSN?tsn=11530 http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=11531 http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=11540 http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=11577 http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=11580
tsn parentName parentTsn taxonName rankId rankName 1 11531 11530 Bangia 180 Genus 2 11540 11530 Porphyra 180 Genus 3 11577 11530 Porphyrella 180 Genus 4 11580 11530 Conchocelis 180 Genus
itis_downstream(tsns = 650497, "Family") # getting families downstream from Acridoidea
http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=650497 http://www.itis.gov/ITISWebService/services/ITISService/getHierarchyDownFromTSN?tsn=650497 http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=102195 http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=657479 http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=657492 http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=650502 http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=657472 http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=657473 http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=657474 http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=657475 http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=657476 http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=657477 http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=657478
tsn parentName parentTsn taxonName rankId rankName 1 102195 Acridoidea 650497 Acrididae 140 Family 2 650502 Acridoidea 650497 Romaleidae 140 Family 3 657472 Acridoidea 650497 Charilaidae 140 Family 4 657473 Acridoidea 650497 Lathiceridae 140 Family 5 657474 Acridoidea 650497 Lentulidae 140 Family 6 657475 Acridoidea 650497 Lithidiidae 140 Family 7 657476 Acridoidea 650497 Ommexechidae 140 Family 8 657477 Acridoidea 650497 Pamphagidae 140 Family 9 657478 Acridoidea 650497 Pyrgacrididae 140 Family 10 657479 Acridoidea 650497 Tristiridae 140 Family 11 657492 Acridoidea 650497 Dericorythidae 140 Family
itis_downstream(tsns = 180541, "Species") # getting species downstream from Ursus
http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=180541 http://www.itis.gov/ITISWebService/services/ITISService/getHierarchyDownFromTSN?tsn=180541 http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=180542 http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=180543 http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=180544 http://www.itis.gov/ITISWebService/services/ITISService/getTaxonomicRankNameFromTSN?tsn=621850
tsn parentName parentTsn taxonName rankId rankName 1 180542 Ursus 180541 Ursus maritimus 220 Species 2 180543 Ursus 180541 Ursus arctos 220 Species 3 180544 Ursus 180541 Ursus americanus 220 Species 4 621850 Ursus 180541 Ursus thibetanus 220 Species

Author

Scott Chamberlain myrmecocystus@gmail.com