Birds were surveyed using time-to-detection count methods across Uganda from 1985 to 2011. This code analyzes these data (from the associated data release) to test for relationships between tree cover, time (year), and species richness and occupancy.