# NOT RUN {
# Some basic examples
col_downstream(name="Apis", downto="species")
col_downstream(name="Bryophyta", downto="family")
# get classes down from the kingdom Animalia
col_downstream(name="Animalia", downto="class")
col_downstream(name="Animalia", downto="class", intermediate=TRUE)
# An example that takes a bit longer
col_downstream(name=c("Plantae", "Animalia"), downto="class")
# Using a checklist from a specific year
col_downstream(name="Bryophyta", downto="family", checklist=2009)
# By id
col_downstream(id='576d098d770a39d09e2bcfa1c0896b26', downto="species",
checklist=2012)
# keep extant taxa only, prunes out extinct taxa
col_downstream(name = "Insecta", downto = "order")
col_downstream(name = "Insecta", downto = "order", extant_only = TRUE)
# }
Run the code above in your browser using DataLab