Next / Previous / Contents / Shipman's homepage

Abstract

Describes a system for representing taxonomic arrangements of bird checklists, and an interface for retrieving such data using the Python programming language.

This publication is available in Web form and also as a PDF document. Please forward any comments to john@nmt.edu.

Table of Contents

1. Introduction
2. Files for downloading
3. Requirements
4. The six-letter bird code system
4.1. Design goals for bird code systems
4.2. Origins of the six-letter code system
4.3. Rules for the six-letter code system
4.4. Handling collisions
5. Input files
5.1. The ranks file
5.2. Preparing the standard forms (.std) file
5.3. Preparing the alternate forms (.alt) file
6. Building the standard product files
7. Flat output files
7.1. The tree (.tre) file
7.2. The abbreviations (.ab6) file
7.3. The collisions (.col) file
8. Schema for the XML product file
8.1. taxonomySystem: the XML root element
8.2. rankSet: Taxonomic ranks in use
8.3. taxonomy: The classification tree
8.4. abbrSet: Bird code definitions
8.5. collisionSet: List of collision codes
9. The Python taxonomy package, txny.py: the interface
9.1. Class Txny: the complete system
9.2. Class Hier: The set of taxonomic ranks
9.3. Class Rank: One taxonomic rank
9.4. The Taxon class: One node in the classification tree
10. The abbr.py module
10.1. class BirdId
11. Directions for future work

1. Introduction

For the representation and processing of data about wild birds, a firm nomenclatural base is essential. Fortunately, for North American birds, the American Ornithologists' Union (AOU) provides a definitive and inclusive classification of forms that have occurred here, in printed form as the AOU Check-List. The AOU's periodical, The Auk, periodically publishes supplements updating the names and arrangements.

In the process of entering a few million records of bird data for the Audubon Christmas Bird Count database, the author also developed a system for representing bird names using a six-letter code. This system currently includes over 2500 codes, each code connected to either a taxon or to an English name.

This document describes a software base for representing the AOU's taxonomic arrangements and the author's six-letter codes as computer files. Once the various input files are prepared and compiled, there are several different ways to access these data:

  • You can use a single XML file that describes both the taxonomy and the bird code system. Prebuilt files are available for all of the AOU Check-List arrangements starting with the Seventh Edition and its various Supplements.

  • A module written in the Python programming language makes it easy for you to write scripts in Python that use one of these XML data files.

  • You can use a set of three “flat files” that can be loaded into a database system or spreadsheet.

To download any of these data or program files, see Section 2, “Files for downloading”.

A companion document, Bird taxonomy system: internal maintenance specification, describes the internals of the various programs in this suite.