1

Topic: Recommended Taxon Sort Order

In the latest upgrades this seems to have been re-written. In the past we have always extracted this key and use it extensively for sorting the data. Now that it has changed does cause a few problems but nothing that couldn't be overcome with a look up table. This would need the old sort order and new sort order and probably would be useful to have the recommended taxon name. Does such a thing exist? If not any suggestions would be welcome.

Graham Hawker
Thames Valley Environmental Records Centre

2

Re: Recommended Taxon Sort Order

I use this number extensively too, but haven't upgraded to the latest Recorder yet. What has changed?

Charles Roper
Digital Development Manager | Field Studies Council
http://www.field-studies-council.org | https://twitter.com/charlesroper | https://twitter.com/fsc_digital

3

Re: Recommended Taxon Sort Order

The sort order is now derived from the Organism table. Before it was the Sort_Order from the Taxon Group table followed by the Sort_Code from the Taxon_List_Item table for the Recommended_Taxon_List_Item key. This wasn't meaningful as it mixes sort orders from different lists.   The original key can still be derived as the base data is still there. If it helps we can provide a UDF to obtain it and provide the field as an option in the Report Wizard.

Mike Weideli

4

Re: Recommended Taxon Sort Order

Mike - thanks for that. It would be very useful to have access to it so yes please.

Graham Hawker
Thames Valley Environmental Records Centre

5

Re: Recommended Taxon Sort Order

Thanks Mike, yes that would be a useful UDF. Regarding the Organisms table, is there any background documentation on it? E.g., why we need it, how to use it, etc.

Charles Roper
Digital Development Manager | Field Studies Council
http://www.field-studies-council.org | https://twitter.com/charlesroper | https://twitter.com/fsc_digital

6

Re: Recommended Taxon Sort Order

Charles

The following is an explanation from a previous post. 

The Organism table contains one entry for every recommended taxon version key. In effect it can be considered as a special list containing all the UK taxa as defined by the NHM.  The only thing to note is that it does contain taxa (mostly at the higher taxonomic) level which are no longer considered valid. Mostly these are taxonomic levels which were correct in the past, but which are no longer considered appropriate.  These are indicated in the table with a 'Y' in the redundant_flag column. Apart from the top level (kingdoms) entries in the table have parent keys pointing to other Organisms. The parent key togteher with the rank and weight are used to derive the  lineage, and from that comes the sort order. Redundant entries have parents, but shouldn't have chlidren. This means that if data has been input against them it will appear in the correct order. The sort will differs from that on the individual lists, but everything will be included, apart from user defined  taxa. We hope shortly to have an addin available will will enable user defined taxa to be included.

With the lineage and the sort order it is possible to easily identify the children and parents of any given Organsim.  This has already been used in providing the Kingdom/Phylum/Class/Order and Family for each each Organism (see table Index_Taxon_Hierrachy). In the next release of Recorder it is intended to use the table when expanding the taxonomic hierarchy in reporting, which should eliminate the problems caused by badly constructed lists. The Sort Order is implemented in Index_Taxon_Name so this is the best place to get this for an xml report. The lineage can, however, be used to return all the parents or all the children for a selected organism. User defined function [dbo].[LCReturnFullHierarchy] illustrates the use of lineage to return the parents of an organism.

Mike Weideli

7

Re: Recommended Taxon Sort Order

I have always used this to put records from our collections into systematic order and have just tried to do this for our beetle collections but all it has done is arrange the records alphabetically by family then genus then specific names. Not much use to me when I want a list in the same arrangement as the collection. Is there a way of reinstating this valuable indexing tool? A biodiversity database that doesn't report in systematic order is not much use to me.

8

Re: Recommended Taxon Sort Order

The old method didn't work properly and resulted in some taxa sorted into totally the wrong place, because it combined sort order from different taxon lists.  The new method should produce consistent results irrespective of which list was used for input, but does by default sort alphabetically within each level. It should be sorting on Phylum/Class/Order/Family/Genus/Species based on the taxonomic hierarachy. It does fail where an intermediate taxon level (eg.  Sub Order) is imortant in organising the group . The facility is there to deal with this and to refine the sort order at any level, but because the infomation is not provided by the NHM  it would require someone with a knowledge of the group to provide the information required.

However, if you only use a single lists for your input, or if you only use the preferred  lists then you can use an alternative sort order based on these list. This will only work if the lists being used have a meaningful sort order. So for example if you only record beetles and  just use the preferred list for recording then there is a way which will produce the sort order according to that list. You might, however, find  that you need to use the names from that list for your reporting and not the recommended names.     

It is also possible to make the old sort order available, but I am not sure of the value of doing this.

If you can let me  know the taxon list(s) you use for your input then I can see if  there is a way to provide a more meaningful sort order.

Mike Weideli

9

Re: Recommended Taxon Sort Order

Mike - I think it is likely that there are multiple dictionaries/lists that have been used for inputting especially as many of the older records will have been input in Recorder 3 and now a mixture of Recorder 3 and the lists in CAPITALS (they are the preferred ones I think) plus a few others where they are not in any of the main lists. NB a single Tullie House Recorder 6 database is used for Steve's Collections records and our CBDC Cumbrian records.

If there were lookups available I could sort the list for Steve in Excel by including the dictionary list used in the report?

As S says the order is very important to R6 users - both for CBDC doing data requests and providing spreadsheets of thousands of records so these are comprehensible to an ecologist, and Steve printing out lists of records and tying those to the Collections that are arranged in taxonomic order.

I think the old sort order is possibly preferable, as at least you noticed the odd plant appearing among birds or whatever... i.e. Neither works properly but it was easier to spot issues with the old one and you didn't get this situation of whole taxonomic groups not being sorted? But ideally of course the new organism table would include a sort order too, perhaps the next big job for NHM?!

-----------------
Teresa Frost | Wetland Bird Survey National Organiser | BTO
Other hat  | National Forum for Biological Recording Council
(Old hats  | NBN Board, ALERC Board, CBDC, KMBRC)

10

Re: Recommended Taxon Sort Order

Here is the breakdown of taxa lists used in our database and the number of different taxa from each (total 25,140) - calculated from the XML report H7 - taxa used in system. I guess this could be restricted to beetles to see what lists were used? But then we are likely to have the same issue when other Tullie House Collections are looked at.

BEETLES Checklist of Beetles of the British Isles (Andrew Duff; http://www.coleopterist.org.uk)    4673
DIPTERA Checklist of Insects of the British Isles (New Series) Part 1: Diptera (Chandler, 1998 and updates)    3721
LEPIDOPTERA Checklist of Lepidoptera Recorded from the British Isles (Second Edition; Bradley, 2000)    3367
FUNGI&LICHEN British Mycological Society GB Checklist of Fungal Names    3129
VASCULAR PLANTS AND STONEWORTS BSBI List of British & Irish Vascular Plants and Stoneworts    2717
BRYOPHYTES British Bryological Society Checklist of British and Irish Bryophytes    1457
BIRDS British Ornithologists' Union British List (Categories A, B, C)    968
ACULEATES Checklist of British Hymenoptera Aculeata    755
HETEROPTERA Checklist of Heteroptera of the British Isles (with Channel Isles)    618
List of additional names    596
ARACHNIDS Checklist of British Spiders    564
Recorder 3.3 (1998)    388
Ulster Museum and Marine Conservation Society Marine Directory    327
MOLLUSCA (NON-MARINE) An annotated list of the non-marine Mollusca of Britain and Ireland    292
SYMPHYTA Checklist of British and Irish Hymenoptera Symphyta    270
SEAWEEDS A Check-list of the Seaweeds of Britain and Ireland    188
MAMMALIA Natural History Museum Checklist of Mammalia    158
ODONATA British Dragonfly Society/Recorder Checklist of British Dragonflies and Damselflies    83
NEUROPTERA, MEGALOPTERA RAPHIDIOPTERA & MECOPTERA Checklist of British lacewings and their allies (Neuroptera, Megaloptera, Raphidioptera and Mecoptera)    80
CRUSTACEA Fauna Europaea checklist of freshwater and terrestrial Crustacea of Britain and Northern Ireland    77
FISH Checklist of British freshwater fishes    63
EPHEMEROPTERA Checklist of British Ephemeroptera (Macadam, 2001)    61
PLECOPTERA Fauna Europaea checklist of Plecoptera (stoneflies) of Britain    58
DIPLOPODA Checklist of British and Irish Diplopoda (millipedes)    37
ORTHOPTERA Checklist of grasshoppers, crickets and allied insects in Britain and Ireland    34
OPILIONES  Checklist for harvestmen of the British Isles    33
CHILOPODA Checklist of British Chilopoda (centipedes)    32
PSOCOPTERA Checklist of British Psocoptera (booklice and barklice)    30
CNIDARIA Natural History Museum Checklist of Cnidaria (Coelenterata)    26
JNCC collation of taxon designations    22
ICHNEUMONIDAE Checklist of British and Irish Ichneumonidae    22
AMPHIBIA Natural History Museum Checklist of Amphibia    20
British Ornithologists' Union categories D and E    19
HIRUDINEA Natural History Museum Checklist of Hirudinea (leeches)    18
BPGS Checklist    17
BRYOZOA Natural History Museum Checklist of Bryozoa (Ectoprocta)    17
TRICHOPTERA A review of the Trichoptera of Great Britain    16
REPTILIA Natural History Museum Checklist of Reptilia    16
British Isles List of Lichens and Lichenicolous Fungi    13
ALGAE A Coded List of Freshwater Algae of the British Isles    13
Checklist from Tachinid Recording Scheme    12
ACARI Fauna Europaea checklist of Prostigmata (Acari) of Britain and Northern Ireland    10
Fungi from GBCHKLST not in BMS List    10
ISOPODA Checklist of woodlice (Isopoda: Oniscidea) and water-slaters (Isopoda: Asellidae) occurring in the British Isles    10
TRICLADIDA Checklist of British Freshwater Tricladida    10
British Butterflies and Moths (Bradley and Fletcher, 1979)    10
PSEUDOSCORPIONS Checklist of British Pseudoscorpions    9
FLEAS Checklist of British Siphonaptera (fleas)    9
PORIFERA 1 Natural History Museum Checklist of Marine Porifera (sponges)    8
British Arachnological Society checklist of British spiders (1991)    8
Environment Agency Check List    7
THYSANURA Checklist of British Thysanura (silverfish and firebrats) and Archaeognatha (bristletails)    7
SNH List of Gaelic Names    6
TICKS Checklist of British Ixodida (ticks)    3
British Soldierflies    3
CELl Lepidoptera    2
Natural History Museum Checklist of Oceanic Pelagic Fishes    2
A Revised Checklist of British Spiders (Merrett & Murphy, 2000)    2
COLLEMBOLA Collembola of Britain and Ireland    2
NERC Act 2006.  Section 42: Species of Principal Importance in Wales    2
CELl Dragonflies list    2
Farm animal species and breeds    2
CELl Vertebrates    2
An annotated checklist of British water bugs (Hemiptera-Heteroptera)    1
Natural History Museum Checklist of Cumacea    1
Seabird 2000 Checklist    1
LEPIDOPTERA (MICRO) Porter Micro-Lepidoptera    1
Bat Conservation Trust list of UK bat names (2004)    1
PYCNOGONIDA Natural History Museum Checklist of Pycnogonida (sea spiders)    1
BRC record card 6453 - Coleoptera: Carabidae    1

-----------------
Teresa Frost | Wetland Bird Survey National Organiser | BTO
Other hat  | National Forum for Biological Recording Council
(Old hats  | NBN Board, ALERC Board, CBDC, KMBRC)

11

Re: Recommended Taxon Sort Order

Now I am confused Theresa

There is a single, unique sort order, derived from the organism table, but located in Index_Taxon_Name and there are no taxa in the index which don't have a value assigned. From what Mike says, the sorting within any given higher taxon is alphabetic, rather than truly taxonomic, but this is a deficiency of the dictionary, not of Recorder. It merely needs updating with proper systematic taxonomic ordering, as and when the relevant experts come up with definitive lists.

This is a vastly superior situation to the old version which was truly taxonomic, except for where it was broken, in which case it produced unpredictable results, some of which stood out like a sore thumb.

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

12

Re: Recommended Taxon Sort Order

I don't use Recorder much myself these days so am not sure and may have got the wrong end of the stick. But how can it be superior when last year Steve gave his coleopterist volunteer a list of records correctly sorted in taxonomic order and now he can't?

-----------------
Teresa Frost | Wetland Bird Survey National Organiser | BTO
Other hat  | National Forum for Biological Recording Council
(Old hats  | NBN Board, ALERC Board, CBDC, KMBRC)

13 (edited by RobLarge 23-10-2013 15:09:01)

Re: Recommended Taxon Sort Order

I agree the current implementation is not perfect, but systematically it is far superior. The data structure used to be poor, because the same taxon could sort differently depending on which list it came from. Maybe that was never an issue with coleoptera, (because all the lists were identically sorted?) Or maybe the differences were small enough to be rarely noted.
Now there is a data structure which ensures there is no ambiguity in sort order, but, as yet the sort orders have not been populated in a taxonomic fashion.

Depends on the user I guess. I am not a taxonomist and I am happy if a list I produce comes out with all the birds together and all the plants. In addition it is nice if all the members of a single genus come out together. I am not precious about whether Orchidaceae is the last family of plants in a list (which is taxonomically correct) or just appears between Naiadaceae and Poaceae in alphabetical order. The crucial thing for me is that the current ordering is systematically correct (groups closely related taxa), if not strictly taxonomically.

Reading back, I think Steve's use of systematic is probably what I am calling taxonomic. My mstake, I told you I am not a taxonomist. However the point remains valid. For most users a coherent list which makes sense is probably adequate, but I can see what someone working on a museum collection might not feel the same

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

14

Re: Recommended Taxon Sort Order

As you say it depends on the user. Recorder is a multi-taxa database with users like museums, specialists and collectors for whom order is crucial, not precious!

-----------------
Teresa Frost | Wetland Bird Survey National Organiser | BTO
Other hat  | National Forum for Biological Recording Council
(Old hats  | NBN Board, ALERC Board, CBDC, KMBRC)

15

Re: Recommended Taxon Sort Order

First I need just to make sure, there isn't something going wrong. The sort should be taxonomically accurate in the sense that records will come out in Phylum/Class/Order/Family/Genus and alphabeticaly within these, irrespective of the list used for the input. If this isn't happening then we need to find out why and fix.

The problem we had before was that not all recommended lists had sort orders. Also and some recommended taxa came from the list of additional names or were not on the preferred  list and these could come out just about anywhere.

However, you can go back to the old list. The attached Batch update run after an index build will do this immediately. Version 6.20 of R6 will include this legacy sort order in the Report Wizard and there will be a UDF you can use in XML reports to get this sort order.   

I can get the new method accurate in R6 as the mechanism exists, but  not the data. Using the existing lists I can get fairly close on most species, but I will get stuck with assigning some of the more obscure taxa. I am prepared to have a go as far as I can as long as someone who understands the taxonomy can sort out the rest.  Having had a quick look there are about 300 taxa (mostly species) of the 6800 beetle taxa which will not be in the correct order in the old system.

Mike Weideli

16

Re: Recommended Taxon Sort Order

Thank you very much for your help Mike. Steve and I looked at this again today just to be sure. The recommended taxon sort order is alphabetical within Order, Family, Genus and as you say this is regardless of the list used (so we could get the same effect without exporting the recommended sort order just using the recommended name, family, order and sorting on these alphabetically in Excel). Hemiptera example:
[img]http://www.cbdc.org.uk/uploads/images/misc/het_eg.PNG[/img]

Just to be clear, if we use your update now will it mean that we lose the new order (so "Recommended Taxon Sort Order" in reports will appear as the old order)? But it sounds much better to have 300 out of order (which Steve's volunteer coleopterist will spot) than everything out of taxonomic order.

It would be great for you to get as close as you can thank you. Is sorting the rest something that can raised with Chris Raper at the Species Inventory end? - Surely this is something which also affects the Gateway and indicia and not just Recorder?

-----------------
Teresa Frost | Wetland Bird Survey National Organiser | BTO
Other hat  | National Forum for Biological Recording Council
(Old hats  | NBN Board, ALERC Board, CBDC, KMBRC)

17

Re: Recommended Taxon Sort Order

Yes you will lose the existing sort order if you run the batch update, but you will be able to get it back simply by rebuilding the taxon group index.  The ability to get  Order/Family/Genus etc. is associated with the sort, but will not be affected by the batch update.    Don't think the gateway or indicia  use sort order in this way anywhere.

Mike Weideli

18

Re: Recommended Taxon Sort Order

Thanks Mike.  iRecord has a reporting facility I think, and the Gateway v5 also has more reporting if I remember correctly, perhaps it will be something that affects their users over time, but I don't know.

For the benefit of anyone else reading this, it is not just obscure groups this affects like splitting up shieldbugs. e.g. It means that butterflies are split up with moths inbetween.
[img]http://www.cbdc.org.uk/uploads/images/misc/lep_eg.PNG[/img]

-----------------
Teresa Frost | Wetland Bird Survey National Organiser | BTO
Other hat  | National Forum for Biological Recording Council
(Old hats  | NBN Board, ALERC Board, CBDC, KMBRC)

19

Re: Recommended Taxon Sort Order

I attach a revised sort order for the beetles, based on the Organism table weighted with information from the preferred beetles lists. There are a number of entries where there is a blank in the OriginalSortOrder. This means that they are not on the preferred list and it is these that need to be slotted into the correct order, by changing the weight. Probably, if the families are  correct the order below this will not be that important. With other lists the problem has often been with taxa which are on obscure lists and perhaps not even Uk species.

The butterflies/moth can  be separated very easily, or it may be possible to apply the same approach as used for the bettles.

I am reluctant to try and apply any blanket solution to all the lists, because some do not have any meaningful sort order and the issues with each list are different. Each group needs to be looked  at individually and the best approach found.

Post's attachments

BeetlesSortOrder.zip 295.14 kb, 4 downloads since 2013-10-24 

You don't have the permssions to download the attachments of this post.
Mike Weideli

20

Re: Recommended Taxon Sort Order

Having looked at this in a fresh light this morning I I think I can do better.  A new version is attached.. The list is sorted using the new  method, but if you filter on just the species and check the order in the weight column(which is the old sort order) it appears that the order is being preserved fairly well, with taxa which don't have any old sort order being slotted in in at least approximatey the right place.

Post's attachments

BeatleSortOrderV2.zip 377.3 kb, 16 downloads since 2013-10-25 

You don't have the permssions to download the attachments of this post.
Mike Weideli

21

Re: Recommended Taxon Sort Order

Many thanks for your efforts on this Mike. It is a great relief to know that it is still possible to report on data in a systematic rather than alphabetic way. I am a great fan of Recorder and have been using it since 1992, which is why I was so dismayed at the loss of functionality in sorting. Would it be possible for you to repeat your work for other taxon groups please? Diptera, Heteroptera and Aculeates we have an immediate need for but others are also required. I am sure that many users of biodiversity data will want to be able to sort it according to the order of the standard national checklists (where they exist) – it can’t just be me. I do think it would be sensible for the organism table to have a systematic coding system for all taxa. Perhaps this could be addressed as a priority in a future upgrade? Many thanks

22

Re: Recommended Taxon Sort Order

I have done more work on this and produced possible revised list for the above groups. However, before proceeding I need to consult more widely on the best approach for dealing with this.

Mike Weideli

23

Re: Recommended Taxon Sort Order

Fantastic! Thanks again Mike.

24

Re: Recommended Taxon Sort Order

I've just arrived at this thread rather late in the game, having just upgraded our R6 dictionaries to 1S and then run my trusted SQL in Access. This maps everything to its recommended taxon name and then sorts using INDEX_TAXON_NAME.SORT_ORDER. I started to look for SQL bugs when I saw the new sort order!

Is there a solution that I can apply in SQL/Access that will restore the expected taxonomic order please? I can't see too many people being happy with the order that the records are now coming out.

Thanks, Keith

25

Re: Recommended Taxon Sort Order

The attached  Batch Update will restore the old sort order. The new order was introduced  in response to many complaints about the way the old sort order put some taxa in more or less random places.    With some groups it  was useless.  I suspect that it was acceptable where mainly common species were recorded, because the sort order came from the preferred  list. Even then with some groups with multiple lists it was more or less random. The situation was also continuing to deteriorate as changes were added to via the list of additional names. The new method gives consistent results and is the one used by the NHM on their web site. The mechanism exists to refine this, but complete  information doesn't exist for most groups and each group (usually an  'Order')  has to be looked at separately, which is being done.   

There will be different views on this so the best we can do is to make both sort orders available. The Batch Update will restore the previous sort order and in R6  v6.20 there will a method of  seleting the old method as an option.

Post's attachments

LCRestoreOldSortOrder.xml 1 kb, 5 downloads since 2013-11-01 

You don't have the permssions to download the attachments of this post.
Mike Weideli