pycbc: A Python interface
to the Christmas Bird Count database
8.9. MyCBC.getAsPub(): Retrieve the aspub row for a circle-year
mycbc.py
# - - - M y C B C . g e t A s P u b
def getAsPub(self, count_id):
'''Retrieve the aspub row for a circle-year.
'''
asPub = self.s.query(self.AsPub).get(count_id)
return asPub