1 (edited by kbalmer 09-09-2015 14:33:58)

Topic: taxonObservations/species - missing common names

Why do I receive common names for some birds but not others when I use taxonObservations/species?

e.g. for Kingfisher I get:

 {"taxonVersionKey":"NHMSYS0000530141","querySpecificObservationCount"
:5,"taxon":{"taxonVersionKey":"NHMSYS0000530141","name":"Alcedo atthis","authority":"(Linnaeus, 1758
)","languageKey":"la","taxonOutputGroupKey":"NHMSYS0000080039","taxonOutputGroupName":"bird","commonNameTaxonVersionKey"
:"NBNSYS0000168157","commonName":"Kingfisher","organismKey":"NBNORG0000060603","rank":"Species","nameStatus"
:"Recommended","versionForm":"Well-formed","gatewayRecordCount":90703,"href":"https://data.nbn.org.uk
/Taxa/NHMSYS0000530141","ptaxonVersionKey":"NHMSYS0000530141"}},

but for Skylark I only get:

 {"taxonVersionKey":"NHMSYS0000530139","querySpecificObservationCount":20,"taxon"
:{"taxonVersionKey":"NHMSYS0000530139","name":"Alauda arvensis","authority":"Linnaeus, 1758","languageKey"
:"la","taxonOutputGroupKey":"NHMSYS0000080039","taxonOutputGroupName":"bird","organismKey":"NBNORG0000060601"
,"rank":"Species","nameStatus":"Recommended","versionForm":"Well-formed","gatewayRecordCount":225122
,"href":"https://data.nbn.org.uk/Taxa/NHMSYS0000530139","ptaxonVersionKey":"NHMSYS0000530139"}},

I also don't get common names for
Emberiza calandra (Corn Bunting, NHMSYS0001688304)   
Linaria cannabina (Linnet, NHMSYS0021004282)   
Poecile palustris (Marsh Tit, NHMSYS0001688303)   
Pyrrhula pyrrhula (Bullfinch, NHMSYS0000530802)   
Sturnus vulgaris (Starling, NHMSYS0000530628)   
Turdus philomelos (Song Thrush, NHMSYS0000530678)   

but when I look them up at https://data.nbn.org.uk/Taxa/XXXXXXXX they all have well-formed common names (but admittedly don't have common names in the "Taxon" panel for some reason).

(I'm only using taxonObservations/species in order to obtain common names and groups that I can then attach to records downloaded using taxonObservations (which doesn't provide either) so it's not very helpful when some common names aren't even provided by taxonObservations/species).

Keith

2

Re: taxonObservations/species - missing common names

Hello Keith

It appears that for these birds the taxonversionkey for common name has not been associated with their preferred taxonversionkey in one of the NBN Gateway dictionary tables. I have now added these common tvks to this table so the common names should now appear. The underlying reason for this is within the SQL used to update the NBN Gateway with the latest UK Species Inventory which I will have a look into.

Best wishes
Graham

3

Re: taxonObservations/species - missing common names

Thanks Graham. The common names are coming through okay now.

Good luck with your SQL...

Keith