Fields |
| Number of fields |
28 |
| |
|
| 1 |
| Field name: |
BATKEY |
| Data type: |
Positive Integer |
| Original description: |
Keyfield - sequential number |
| Further descriptive information: |
Unique identifier of the record; the key to the file. The first 2 numbers in the key are the region number ie the region which entered the record (the region number and name are held in the COUNTIES table); the remainder are a unique sequential number. Records in which the BATKEY starts with the digits '99' were entered by the EN Ecologist who developed/administered the Bats database. When a copy of the BATDATA system is first installed in a region, a maintenance facility is run to set the regional code. The key numbers (BATKEY) assigned to records begin with the number of the region. {Maximum length 6} |
| Missing value(s): |
[not permitted for this field] |
| Attributes: |
|
| Constraints: |
This field may take any value appropriate to its datatype. |
| Encoding: |
[No encoding used] |
| |
| 2 |
| Field name: |
ALTERED |
| Data type: |
Date as Fixed Length String (length 10) |
| Original description: |
Date record added or edited |
| Further descriptive information: |
This field is updated whenever the record is altered. This allows the selection, in order to transfer records to English Nature HQ, of all records added or updated since the last transfer. In the Batadata system, dates were held internally as the number of days since December 31st 1967 (day 0) |
| Missing value(s): |
[not permitted for this field] |
| Attributes: |
|
| Constraints: |
This field may take any value appropriate to its datatype. |
| Encoding: |
[No encoding used] |
| |
| 3 |
| Field name: |
OPERATOR |
| Data type: |
Variable Length String |
| Original description: |
User name of most recent editor of the record |
| Further descriptive information: |
Identification of the user who added or last updated the record For the ordinary user of the system, the user-id is of the form BAT.XX, where XX is the number of the user's region. Other entries in this field identify the user ids of individuals (mainly system administrators?). User names also controlled the user environment within the BATDATA system. {Maximum length 10} |
| Missing value(s): |
[not permitted for this field] |
| Attributes: |
|
| Constraints: |
This field may take any value appropriate to its datatype. |
| Encoding: |
[No encoding used] |
| |
4  |
| Field name: |
SITE_NAME |
| Data type: |
Variable Length String |
| Original description: |
Site name / 1st line of address |
| Further descriptive information: |
{Maximum length 40} |
| Missing value(s): |
One or more spaces |
| Attributes: |
Anonymised until 2025 |
| Constraints: |
This field may take any value appropriate to its datatype. |
| Encoding: |
[No encoding used] |
| |
5  |
| Field name: |
GREF |
| Data type: |
Variable Length String |
| Original description: |
Grid reference for site. This can be 4, 6 or 8 figures |
| Further descriptive information: |
During data entry, the grid reference is validated against the VCOUNTY table, to check that a record for the 10 km square exists in that table and that the county entered for this BATDATA record contains the 10km square defined by the grid reference. {Maximum length 10} |
| Missing value(s): |
[not permitted for this field] |
| Attributes: |
Anonymised until 2025 |
| Constraints: |
This field may take any value appropriate to its datatype. |
| Encoding: |
[No encoding used] |
| |
| 6 |
| Field name: |
COUNTY_CODE |
| Data type: |
Variable Length String |
| Original description: |
County code - use to lookup in COUNTIES |
| Further descriptive information: |
At data entry, the COUNTY_CODE is validated against the COUNTIES table, which holds the codes and names of the Counties. The region code is used to ensure that only the appropriate counties (ie those within the user's region) are presented to the user {Maximum length 6} |
| Missing value(s): |
[not permitted for this field] |
| Attributes: |
This field forms a Many - 1 relationship with the following tables: via the field CNUMB |
| Constraints: |
[As specified by Encoding] |
| Encoding: |
This field may only take one of the 67 pre-defined values listed |
| Codes |
Values |
| 1 | Avon |
| 2 | Cornwall |
| 3 | Devon |
| 4 | Dorset |
| 5 | Somerset |
| 6 | Berkshire |
| 7 | Buckinghamshire |
| 8 | Hampshire |
| 9 | Oxfordshire |
| 10 | Isle of Wight |
| 11 | Wiltshire |
| 12 | Kent |
| 13 | Greater London |
| 14 | Surrey |
| 15 | East Sussex |
| 16 | West Sussex |
| 17 | Cheshire |
| 18 | Derbyshire |
| 19 | Gloucestershire |
| 20 | Hereford & Worcester |
| 21 | Shropshire |
| 22 | Staffordshire |
| 23 | Warwickshire |
| 24 | West Midlands |
| 25 | Bedfordshire |
| 26 | Cambridgeshire |
| 27 | Hertfordshire |
| 28 | Leicestershire |
| 29 | Lincolnshire |
| 30 | Northamptonshire |
| 31 | Nottinghamshire |
| 32 | Essex |
| 33 | Norfolk |
| 34 | Suffolk |
| 35 | Cumbria |
| 36 | Greater Manchester |
| 37 | Lancashire |
| 38 | Merseyside |
| 39 | South Yorkshire |
| 40 | West Yorkshire |
| 41 | Cleveland |
| 42 | Durham |
| 43 | Humberside |
| 44 | Northumberland |
| 45 | Tyne & Wear |
| 46 | North Yorkshire |
| 50 | Dumfries & Galloway |
| 51 | Strathclyde |
| 52 | Borders |
| 53 | Central |
| 54 | Fife |
| 55 | Lothian |
| 56 | Tayside |
| 57 | Highland |
| 58 | Western Isles |
| 59 | Grampian |
| 60 | Badenoch & Strathspey |
| 61 | Orkney |
| 62 | Shetland |
| 70 | Clwyd |
| 71 | Gwynedd |
| 72 | Dyfed |
| 74 | Powys |
| 76 | Gwent |
| 77 | Mid Glamorgan |
| 78 | South Glamorgan |
| 79 | West Glamorgan |
|
| |
| 7 |
| Field name: |
DISTRICT_CODE |
| Data type: |
Fixed Length String (length 3) |
| Original description: |
District (Local Authority) |
| Further descriptive information: |
At data entry, the DISTRICT_CODE is validated against the LPAS table, which holds the codes and names of the Districts. {Maximum length 6} |
| Missing value(s): |
One or more spaces |
| Attributes: |
This field forms a Many - 1 relationship with the following tables: via the field LPA_KEY |
| Constraints: |
This field may take any value appropriate to its datatype. |
| Encoding: |
[No encoding used] |
| |
8  |
| Field name: |
LOCALITY |
| Data type: |
Variable Length String |
| Original description: |
Locality of site (from OS map) (converted records used the 2nd line of address) |
| Further descriptive information: |
EN have confirmed that for records converted from an earlier system, whatever was in the 2nd line of the address was copied over. For more recent records, the user consults the relevant OS map to identify the locality. {Maximum length 30} |
| Missing value(s): |
One or more spaces |
| Attributes: |
Anonymised until 2025 |
| Constraints: |
This field may take any value appropriate to its datatype. |
| Encoding: |
[No encoding used] |
| |
| 9 |
| Field name: |
SITE_TYPE |
| Data type: |
Variable Length String |
| Original description: |
Type of site |
| Further descriptive information: |
At data entry, the SITE_TYPE is validated against the SITE_TYPES table, which holds the code / text for each type of site. {Multi-valued field. Maximum length 16} |
| Missing value(s): |
One or more spaces |
| Attributes: |
This field forms a Many - 1 relationship with the following tables: via the field TYPE_KEY |
| Constraints: |
[As specified by Encoding] |
| Encoding: |
This field may only take one of the 14 pre-defined values listed |
| Codes |
Values |
| A | Bridge |
| B | Building |
| C | Cave |
| E | Church |
| F | Fortification |
| H | House |
| I | Ice-house |
| K | Kiln |
| L | Site lost |
| M | Mine |
| O | Other |
| R | Road/rail tnl. |
| T | Tree |
| W | Waterway tunnel |
|
| |
| 10 |
| Field name: |
ENQTYPE_CODE |
| Data type: |
Positive Integer(Byte) |
| Original description: |
Enquiry code. Use to lookup in ENQTYPES |
| Further descriptive information: |
At data entry, the ENQTYPE_CODE is validated against the ENQTYPE table, which holds the codes and description of the types of enquiries. {Maximum length 10} |
| Missing value(s): |
One or more spaces |
| Attributes: |
This field forms a Many - 1 relationship with the following tables: via the field ENQUIRY_KEY |
| Constraints: |
[As specified by Encoding] |
| Encoding: |
This field may only take one of the 14 pre-defined values listed |
| Codes |
Values |
| 1 | Domestic: no action/information request |
| 2 | Domestic: persuaded to leave alone |
| 3 | Domestic: provided with advice under WCA |
| 4 | Domestic: premature or illegal action |
| 5 | Domestic: building repairs /alterations |
| 6 | Domestic: timber treatment/pest control |
| 7 | Non-domestic: 'lawful activity' defence |
| 8 | Non-domestic: church with bat problem |
| 9 | Non-domestic: bats present |
| 10 | Bat found: alive |
| 11 | Bat found: dead |
| 12 | Bat found: ringed |
| 13 | Domestic: other enquiry/unknown |
| 14 | Report of bats - not an enquiry |
|
| |
| |
|