Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deaths chart: add by-age and by-type #770

Open
lukarenko opened this issue Dec 22, 2020 · 0 comments
Open

Deaths chart: add by-age and by-type #770

lukarenko opened this issue Dec 22, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@lukarenko
Copy link
Contributor

We now receive deaths by age and by type (RH occupant or other) weekly (Monday). Data is per-day, therefore it would be best to present it on Deaths chart as new buttons below.

    "deceasedPerAgeToDate": [
      {
        "ageFrom": 0,
        "ageTo": 4
      },
      {
        "ageFrom": 5,
        "ageTo": 14
      },
      {
        "ageFrom": 15,
        "ageTo": 24
      },
      {
        "ageFrom": 25,
        "ageTo": 34
      },
      {
        "ageFrom": 35,
        "ageTo": 44,
        "allToDate": 7,
        "femaleToDate": 1,
        "maleToDate": 6
      },
      {
        "ageFrom": 45,
        "ageTo": 54,
        "allToDate": 17,
        "femaleToDate": 8,
        "maleToDate": 9
      },
      {
        "ageFrom": 55,
        "ageTo": 64,
        "allToDate": 51,
        "femaleToDate": 14,
        "maleToDate": 37
      },
      {
        "ageFrom": 65,
        "ageTo": 74,
        "allToDate": 218,
        "femaleToDate": 67,
        "maleToDate": 151
      },
      {
        "ageFrom": 75,
        "ageTo": 84,
        "allToDate": 559,
        "femaleToDate": 252,
        "maleToDate": 307
      },
      {
        "ageFrom": 85,
        "allToDate": 824,
        "femaleToDate": 546,
        "maleToDate": 278
      }
    ],
    "deceasedPerType": {
      "rhOccupant": 920,
      "other": 756
    }
@lukarenko lukarenko added the enhancement New feature or request label Dec 22, 2020
breki added a commit that referenced this issue Dec 24, 2020
…is namespace (#770)

Also started extracting some copy-pasted types.
breki added a commit that referenced this issue Dec 24, 2020
breki added a commit that referenced this issue Dec 24, 2020
breki added a commit that referenced this issue Dec 26, 2020
breki added a commit that referenced this issue Dec 27, 2020
breki added a commit that referenced this issue Dec 31, 2020
Deceased chart - age groups metrics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants