You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
name_usage(key, data = "iucnRedListCategory") returns
Error: Status: 204 - not found
for some keys instead of an empty tibble, in contrast to how name_usage() behaves, for instance, with “synonyms” or "children" data parameter. This aborts any loops once Error is encountered and prevents looking up for IUCN RL category for a vector of taxonKeys.
Example: name_usage(key = 7190896, data = "iucnRedListCategory")$data
Error: Status: 204 - not found
Compare with name_usage(key = 7190896, data = "children")$data
A tibble: 0 × 0
The text was updated successfully, but these errors were encountered:
This seems to have more to do with how the GBIF API works rather than with rgbif. There isn't really an easy fix, and I think I would rather push for the GBIF API to return no results rather than a 204 warning.
name_usage(key, data = "iucnRedListCategory") returns
for some keys instead of an empty tibble, in contrast to how name_usage() behaves, for instance, with “synonyms” or "children" data parameter. This aborts any loops once Error is encountered and prevents looking up for IUCN RL category for a vector of taxonKeys.
Example:
name_usage(key = 7190896, data = "iucnRedListCategory")$data
Compare with
name_usage(key = 7190896, data = "children")$data
The text was updated successfully, but these errors were encountered: