dimagi/commcare-hq — pull request #779 by twymer (2013-07-30 03:49:15+00:00)
Title: Add ability to manipulate integer property

Can pass a lambda to be called on the integer property result.

Usage would be something like:

total_people_with_patient = xcalculators.FilteredFormPropertyCalculator(
xmlns=BLAH,
indicator_calculator=xcalculators.IntegerPropertyReference('form/group_count', lambda x: x-1),
)