Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C covid19india-react
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • covid19india
  • covid19india-react
  • Issues
  • #2516
Closed
Open
Issue created Jul 29, 2021 by Yogeshwaran C@yogesh7401

Can add Covid free district

Can add Covid free district list It will be use full for user and create relief for district peoples of Covid free districts

How to do ? (My Suggestion) Some state like telungana there is 0 data and API not feed active cases , you get active cases by subracting deceased and recovered cases from Confirmed cases , so there itself check confirmed cases > 0 and active case === 0 and store the district key and display the result as covid free districts

For example

let covidFreeDistrict = []
if(active === 0 && confirmed > 0) {
    covidFreeDistrict.push({districtName,key})
}
Assignee
Assign to
Time tracking