InaSAFE Disaster risk assessment tool developed by AusAid - Building Exposure Report Mixin Class
Contact : ole.moller.nielsen@gmail.com
Note
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Bases: safe.impact_reports.report_mixin_base.ReportMixin
Population specific report.
Population action.
Returns: | The population breakdown report. |
---|---|
Return type: | safe.messaging.Message |
Get the affected population counts.
Returns: | Affected population counts. |
---|---|
Return type: | dict |
Get the ordering of the impact categories.
Returns: | The categories by defined or default ordering. |
---|---|
Return type: | list |
The impact summary as per category
Returns: | The impact summary. |
---|---|
Return type: | safe.messaging.Message |
Lookup a category by its name.
Parameters: | category (basestring) – The category to be looked up. |
---|---|
Returns: | The category’s count. |
Return type: | int |
Note
The category may be any valid category, but it also includes ‘Population Not Affected’, ‘Unaffected Population’ for unaffected as well as ‘Total Impacted’, ‘People impacted’, ‘Total Population Affected’ for total affected population. This diversity is to accodate existing usages, which have evolved separately. We may want to update these when we have decided on a single convention.
Get the minimum needs as specified, or default.
Returns: | The minimum needs parameters. |
---|---|
Return type: | list |
Breakdown by population.
Returns: | The population breakdown report. |
---|---|
Return type: | list |
The population counts which are not explicitly included in affected.
Returns: | Population counts. |
---|---|
Return type: | dict |
Get the impact function question.
Returns: | The impact function question. |
---|---|
Return type: | basestring |
Get the total affected population.
Returns: | Total affected population. |
---|---|
Return type: | int. |
Get the total evacuated population.
Returns: | The total evacuated population. |
---|---|
Return type: | int |
Note
The total evacuated is said to either the evacuated amount,
failing that the total affected population and if applicable reduced by a evacuation percentage.