june.demography.demography.Population¶
-
class
june.demography.demography.
Population
(people: Optional[List[june.demography.person.Person]] = None) A population of people.
Behaves mostly like a list but also has the name of the area attached.
- people
A list of people generated to match census data for that area
-
__init__
(people: Optional[List[june.demography.person.Person]] = None) A population of people.
Behaves mostly like a list but also has the name of the area attached.
- people
A list of people generated to match census data for that area
-
add
(person)
-
extend
(people)
-
get_from_id
(id)
-
property
dead
-
property
infected
-
property
members
-
property
people_ids
-
property
recovered
-
property
susceptible
-
property
total_people