generate_ltcfs#
- generate_ltcfs(n, with_facilities, loc_pars, expected_age_dist, ages_left_to_assign)[source]#
Generate residents living in long term care facilities and their ages.
- Parameters:
n (int) – The number of people to generate in the population
with_facilities (bool) – If True, create long term care facilities, currently only available for locations in the US.
loc_pars (dict) – A dictionary of location parameters
expected_age_dist (dict) – The expected age distribution
ages_left_to_assign (dic) – The counter of ages for the generated population left to place in a residence