1

Topic: Admin Areas and Taxon

Hi ,

I am new to Recorder and, although I have worked as a SQL server developer, I have some probably very basic questions about the system.

Firstly, I would like to use the Admin Areas to categorise some of my data. There appears to be no way of adding to these tables in Recorder but I could do it through SQL Server.  Is it OK to do this.

Secondly.  The BOU bird list is missing a species. If I add to this list will subsequent official releases affect my data.

Thanks and apologies if this is all covered before.

2

Re: Admin Areas and Taxon

Recorder supports Admin areas in two ways. Firstly, you can give a location an admin area and use that. Secondly, you can add  admin areas to a sample. The admin area table is fairly extensive. If you think anything is missing let us know.  The tables are  Location_Admin_Areas and Sample_Admin_Area. You can see what is available in Dictionaies/Admin Area Browser.   This is a system supplied table so adding to it via SQL Server could stop other parts of the applications working.   

The preferred list for birds is the British Ornithologists Union British List (Categories A,B,C). You can add species to existing list, but not add complete new lists. Adding additional taxa will not affect upgrades.

Mike Weideli

3

Re: Admin Areas and Taxon

Thanks for that.  I just need to add one missing species to the BOU list.

What I wanted to use Admin Areas for was to categorise my sites by non-Geographical groupings for reporting purposes.  I thought I might be able to use Admin Areas for this. 

Is there another way of doing this.

4

Re: Admin Areas and Taxon

It would be safer if you didn't add your own  entries to the Admin table. If they were genuine Admin Area, then they coudl be added centrally for you. However, if you just want to add categories for reporting purposes the you could use Measurements or Features. The simplest is probaby to use a 'Measurement' . Measurements can be anything you want and don't have to be length area etc..  Add these via the Term List.

Mike Weideli

5 (edited by Robin Mace 21-02-2013 15:40:52)

Re: Admin Areas and Taxon

Thanks. I will follow your advice.

6 (edited by RobLarge 21-02-2013 16:00:35)

Re: Admin Areas and Taxon

A bit puzzled by your response Mike. I have successfully added several items to the Admin_areas table. Particularly I have added all the community areas for Wiltshire and Locality areas for Swindon to our copy (recorder still has parishes and districts - the latter of which no longer exist in unitary Wiltshire - but not community areas, against which we must report). It has not caused any unexpected problems since I made the changes a couple of years ago.

I don't see any reason why a competent person who is familar with the structure of the R6 db and with the generalities of SQLServer databases, should not be able to do this. But I appreciate that an untutored person might create problems for themselves.

The items I have entered all have us as custodian and primary keys beginning with our site ID and the system supplied flag is set to 0, so there is no reason why these would conflict with any future updates. It is important to note though that I also added records to Admin_Type as categories to contain the items I added to admin_areas. So I have a parent category called Community and Locality areas, with two child categories (on for each type) and I used the admin_type_keys of these when populating admin_areas.Admin_type_key.

It is also worth mentioning that ADMIN_AREAS and ADMIN_TYPE both occur in the Last_Key table, which would not be necessary if no additional entries were to be allowed?

The entries display precisely as expected in the Admin area dictionary browser and in the Geo Info tab of the locations hierarchy. I use them daily without problem. Of course I would not advocate adding any items within any of the existing admin types as these may be subject to unannounced change.

Also on the subject of adding a bird species. If it isn't on any of the lists but is a genuinely occurring species, then it should be added nationally to one of the lists, ideally the BOU one. Would it not be better to post the details to Chris on the species dictionary section and see what he thinks about getting it added.

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

7

Re: Admin Areas and Taxon

Thanks for that Rob.

I am using the database to record Kent bird sightings and we have the one and only British record of Tufted Puffin. 

I will post a request in the Species Dictionary Section.

8

Re: Admin Areas and Taxon

The main thing is that an R6 Export will not pick up the added Amin Areas so the import into another system will reject the Location Admin Area.  Normally, user added entries are exported  with the data, but this doesn't happen with this table. Also the table is centrally maintained, with no provision for users to add there own entries, so an update at sometime could possibly delete any user added entries - although now we are aware that they are being added, this should not be the case.

Mike Weideli

9

Re: Admin Areas and Taxon

Thanks Mike

I hadn't considered the possibility of issues with export/import. But then again, I can't imagine a situation where we would be exporting any site data with admin areas. I guess I had assumed that, as with any other table, the export process (to zipped mdb ) would (or could be persuaded to) include any non system-supplied items necessary. I suppose if the problem ever occurs I will know why now.

We don't routinely use the admin areas for most data, preferring to rely on GIS for matters spatial. I just needed to add the community areas for my own project and have only done so for Local Wildlife Sites, not all sites.

So, do I take it from your post above that I might, hypothetically be able to request that community areas be added formally to the country and all administrative areas hierarchy (they would sit between districts and parishes)?

Of course it would be necessary to first obtain a comprehensive list country-wide and identify both which district each lies within and which parishes each contains. Tell you what, I won't hold my breath on that one.

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

10

Re: Admin Areas and Taxon

Having thought about this a bit more deeply,  there is an advantage in using Admin Area to analyse Location information by category in that is that you can use this in the Report Wizard.  The Report Wizard doesn't support filters on Features or Measurements.  There is no harm in adding Admin Areas and there is some advantage in them not being exported, especially if you using them for some local analysis.

Mike Weideli

11

Re: Admin Areas and Taxon

I seem to have started an interesting discussion.

I would certainly want to be able to use the report filters and it would seem from Mike's last post that Admin Areas is the way to go.

Thanks.

12

Re: Admin Areas and Taxon

Thanks Mike.

And Robin, I have incorporated quite a lot of minor additions of this kind to R6, but I would, of course caution that you make sure you are absolutely familar with the structure before making any changes, and always take a backup & test rigorously.

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

13

Re: Admin Areas and Taxon

Thanks.

Absolutely agree, Rob.  I hope my years as a developer in SQL Server will help!

14

Re: Admin Areas and Taxon

Well, I'm self-taught and it didn't take me that long to work it out. The db is pretty well designed for the most part and tables and fields are named sensibly. Good luck.

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre