# NOT RUN {
##Set your key
set_search_key("your apiKey",db = "sp2000")
##Search family IDs via family name
familyid <- search_family_id(query = "Anguillidae")
##Search taxon IDs via familyID
taxonid <- search_taxon_id(query = familyid$Anguillidae$data$record_id,name = "familyID")
#Download detailed lists via species or infraspecies ID
query <- taxonid[["3851c5311bed46c19529cb155d37aa9b"]][["data"]][["namecode"]]
x <- search_checklist(query = query)
str(x)
# }
Run the code above in your browser using DataLab