june.groups.group.subgroup.Subgroup¶
-
class
june.groups.group.subgroup.
Subgroup
(group, subgroup_type: int) A group within a group. For example, children in a household.
-
__init__
(group, subgroup_type: int) A group within a group. For example, children in a household.
-
_collate
(attribute: str) → List[june.demography.person.Person]
-
append
(person: june.demography.person.Person) Add a person to this group
-
clear
()
-
remove
(person: june.demography.person.Person)
-
_abc_impl
= <_abc_data object>
-
property
contains_people
Whether or not the group contains people.
-
property
dead
-
external
= False
-
group
-
property
in_hospital
-
property
infected
-
people
-
property
recovered
-
property
size
-
property
size_infected
-
property
size_recovered
-
property
size_susceptible
-
subgroup_type
-
property
susceptible
-