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
A class for individual schools and methods to operate on each. |
|
A class for individual classrooms and methods to operate on each. |
Functions
Get enrollment sizes by school types in popdict. |
|
Get school size distributions by type. |
|
Get enrollment count by age for students in the popdict. |
|
Get enrollment rates by age. |