We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GBIF results are called with data = species_api.name_backbone(name=name, strict=True, rank="SPECIES")
data = species_api.name_backbone(name=name, strict=True, rank="SPECIES")
However, some of the calls return 'rank': 'GENUS' results.
'rank': 'GENUS'
Examples:
data = species_api.name_backbone(name='Macaria notata', strict=True, rank="SPECIES")
gives:
{'usageKey': 3256294, 'scientificName': 'Macaria Curtis, 1826', 'canonicalName': 'Macaria', 'rank': 'GENUS', 'status': 'ACCEPTED', 'confidence': 98, 'matchType': 'HIGHERRANK', 'kingdom': 'Animalia', 'phylum': 'Arthropoda', 'order': 'Lepidoptera', 'family': 'Geometridae', 'genus': 'Macaria', 'kingdomKey': 1, 'phylumKey': 54, 'classKey': 216, 'orderKey': 797, 'familyKey': 6950, 'genusKey': 3256294, 'synonym': False, 'class': 'Insecta'}
Not sure why since https://api.gbif.org/v1/species?name=Macaria%20notata returns species as the first result
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
Gbif consider this name as a synonym, e.g. https://www.gbif.org/species/5880550. can you list all cases where the match is not to rank=species
I see, that makes sense. The problem cases are:
returning rank=Genus:
returning no rank:
LevanBokeria
KatrionaGoldmann
No branches or pull requests
GBIF results are called with
data = species_api.name_backbone(name=name, strict=True, rank="SPECIES")
However, some of the calls return
'rank': 'GENUS'
results.Examples:
data = species_api.name_backbone(name='Macaria notata', strict=True, rank="SPECIES")
gives:
Not sure why since https://api.gbif.org/v1/species?name=Macaria%20notata returns species as the first result
The text was updated successfully, but these errors were encountered: