# NOT RUN {
## the plant class Bangiophyceae
gbif_downstream(key = 198, downto="genus")
gbif_downstream(key = 198, downto="genus", intermediate=TRUE)
# families downstream from the family Strepsiptera (twisted wing parasites)
gbif_downstream(key = 1227, "family")
## here, intermediate leads to the same result as the target
gbif_downstream(key = 1227, "family", intermediate=TRUE)
# Lepidoptera
gbif_downstream(key = 797, "family")
# get species downstream from the genus Ursus
gbif_downstream(key = 2433406, "species")
# get tribes down from the family Apidae
gbif_downstream(key = 7799978, downto="species")
gbif_downstream(key = 7799978, downto="species", intermediate=TRUE)
# names that don't have canonicalname entries for some results
key <- get_gbifid("Myosotis")
res <- gbif_downstream(key, downto = "species")
res2 <- downstream(key, db = "gbif", downto = "species")
# }
Run the code above in your browser using DataLab