OpenUpSA / wazimap

Wazimap is a Django application for exploring census data.
http://wazimap.readthedocs.org/en/latest/
Other
30 stars 31 forks source link

Relative totals #45

Closed longhotsummer closed 8 years ago

longhotsummer commented 8 years ago

This allows instances like the following:

Suppose you have a field table with "educational attendance (yes/no)" and "age group" fields, and you wanted to show what percentage of each age group get eduction. Then you can call get_stat_data with percent_grouping=['age group'] to indicate that entries should be summed across age groups when the denominator for percentages is calculated.

In addition, specify slices=['yes'] to pluck out just the yes rows for educational attendance.