Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • CAiMIRA CAiMIRA
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 48
    • Issues 48
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CAiMIRACAiMIRA
  • CAiMIRACAiMIRA
  • Merge requests
  • !405

Global incident rates

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Luis Aleixo requested to merge feature/global_incident_rates into master Oct 12, 2022
  • Overview 5
  • Commits 5
  • Pipelines 7
  • Changes 4

Closes #279 (closed)

This MR links the geographic_cases parameter with the API comming from a WHO database, instead of having a user input, via a server-side API - CasesData. It gets at first the common name for the country in question (via a REST countries API) and then calculates the average value from a WHO database available here.

Added a validation for data that is not up-to-date - if any of the days has a 0 value in the New_cases field (from the database), it means that the dataset is (still) not updated, therefore we don't provide the 7-day rolling average value.

UI Changes:

Screenshot_2022-11-18_at_12.04.42.

Edited Nov 18, 2022 by Luis Aleixo
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/global_incident_rates