get_death_rates#

class get_death_rates(location=None, by_sex=True, overall=False)[source]#

Load death rates for a given country or countries.

Parameters:
  • location (str or list) – name of the country or countries to load the age distribution for

  • by_sex (bool) – whether to rates by sex

  • overall (bool) – whether to load total rate

Returns:

death rates by age and sex

Return type:

death_rates (dict)