schools#

This module generates school contacts by class and grade in flexible ways. Contacts can be clustered into classes and also mixed across the grade and across the school.

H. Guclu et. al (2016) shows that mixing across grades is low for public schools in elementary and middle schools. Mixing across grades is however higher in high schools.

Functions in this module are flexible to allow users to specify the inter-grade mixing (for ‘age_clustered’ school_mixing_type), and to choose whether contacts are clustered within a grade. Clustering contacts across different grades is not supported because there is no data to suggest that this happens commonly.

Classes

School

A class for individual schools and methods to operate on each.

Classroom

A class for individual classrooms and methods to operate on each.

Functions

get_school_type_labels

count_enrollment_by_school_type

Get enrollment sizes by school types in popdict.

get_generated_school_size_distributions

Get school size distributions by type.

count_enrollment_by_age

Get enrollment count by age for students in the popdict.

get_enrollment_rates_by_age

Get enrollment rates by age.