Last active
December 11, 2015 05:59
-
-
Save insin/4556456 to your computer and use it in GitHub Desktop.
Analysis of responses to Equality Impact Assessment on Policy on the Flying of the Union Flag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sources: | |
# | |
# EQIA Report | |
# http://www.belfastcity.gov.uk/equality/docs/EQIAFinalDecisionReportFlags.doc | |
# Appendices | |
# http://www.belfastcity.gov.uk/equality/docs/EQIAFianDecisionReportFlagAppendicies.doc | |
# Who responded? | |
responses = { | |
'duup_survey': 14740, # EQIA Report, Page 13 | |
'org_letters': 3, # Appendix E, Pages 85-92 | |
'questionnaire': 577, # Appendix E, Page 93 | |
'letter_and_email': 326, # Appendix E, Page 96 | |
'staff': 1038, # EQIA Report, Page 13 | |
} | |
# Who responded indicating no change of policy? | |
no_change_responses = { | |
'duup_survey': responses['duup_survey'], # Protip: surveys fix the response! | |
'org_letters': 1, # Appendix E, Page 90 | |
'questionnaire': 67, # Appendix E, Page 93 | |
# Responses from Appendix E, Page 96 | |
'letter_and_email': (175 + # "No change to policy" | |
79 + # Misc. single letters | |
14 + # "Belfast is the capital of NI..." | |
13 + # "...would produce the exact opposite of what they are allegedly trying to achieve..." | |
12 + # "Removing flag will create deeper divisions..." | |
3), # "Fly the flag always" | |
'staff': round(responses['staff'] * 0.579), # Appendix E, Page 98 | |
} | |
# Percentage in favour of no change | |
response_total = sum(responses.values()) | |
no_change_total = sum(no_change_responses.values()) | |
print('%i / %i = %s%%' % (no_change_total, | |
response_total, | |
round(no_change_total / float(response_total) * 100, 1))) | |
# | |
# 15705 / 16684 = 94.1% | |
# | |
# What if we exclude members of staff? | |
del responses['staff'] | |
del no_change_responses['staff'] | |
response_total = sum(responses.values()) | |
no_change_total = sum(no_change_responses.values()) | |
print('%i / %i = %s%%' % (no_change_total, | |
response_total, | |
round(no_change_total / float(response_total) * 100, 1))) | |
# | |
# 15104 / 15646 = 96.5% | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment