Fixed typo in variable name.
Put dates in the past so that we have no chance of having them spontaneously fail.
Test that invalid date ranges are detected.
Removed excess whitespace.
Corrected description of Male teacher absenteeism.
[Neil, Chris] Move the school and locations calculations back into scope for date ranges <= 2 months.
[Neil, Chris] Use the same calculations for arbitrary weeks as the current week because calculating each school individually gave incorrect(?) results.
[Neil, Chris] Fixed naming.
[Neil, Chris] Removed unused variable.
[Neil, Chris] Improved naming.
Merge branch 'devel'
Simplify by omitting nonsense conditions.
Don't default locations and time ranges as the query doesn't work without them being specified.
List comprehensions are clearer and more consise than loops.
Refactor to a list comprehension for clarity.
Consolidate the two head teacher queries.
Whitespace and formatting.
No point in making necessary parameters optional.
Removed unused and duplicate function.
Don't make necessary parameters optional.