get_ltcf_sizes#

get_ltcf_sizes(popdict, keys_to_exclude=[])[source]#

Get long term care facility sizes, including both residents and staff.

Parameters:
  • popdict (dict) – population dictionary

  • keys_to_exclude (list) – possible keys to exclude for roles in long term care facilities. See notes.

Returns:

Dictionary of the size for each long term care facility generated.

Return type:

dict

Notes

keys_to_exclude is an empty list by default, but can contain the different long term care facility roles: ‘ltcf_res’ for residents and ‘ltcf_staff’ for staff. If either role is included in the parameter keys_to_exclude, then individuals with that value equal to 1 will not be counted.