if (FALSE) {
iucn_id("Branta canadensis")
iucn_id("Branta bernicla")
iucn_id("Panthera uncia")
iucn_id("Lynx lynx")
# many names
iucn_id(c("Panthera uncia", "Lynx lynx"))
# many names, some not found
iucn_id(c("Panthera uncia", "Lynx lynx", "foo bar", "hello world"))
# a name not found
iucn_id("Foo bar")
}
Run the code above in your browser using DataLab