API icon indicating copy to clipboard operation
API copied to clipboard

todayCases & todayDeaths is missing for most countries for /v2/countries endpoint

Open andrewvanhemelrijck opened this issue 6 years ago • 2 comments

[
  {
    "updated": 1588906367532,
    "country": "Afghanistan",
    "countryInfo": {
      "_id": 4,
      "iso2": "AF",
      "iso3": "AFG",
      "lat": 33,
      "long": 65,
      "flag": "https://disease.sh/assets/img/flags/af.png"
    },
    "cases": 3563,
    "todayCases": 0,
    "deaths": 106,
    "todayDeaths": 0,
    "recovered": 468,
    "active": 2989,
    "critical": 7,
    "casesPerOneMillion": 92,
    "deathsPerOneMillion": 3,
    "tests": 14389,
    "testsPerOneMillion": 370,
    "continent": "Asia"
  },
  {
    "updated": 1588906367570,
    "country": "Albania",
    "countryInfo": {
      "_id": 8,
      "iso2": "AL",
      "iso3": "ALB",
      "lat": 41,
      "long": 20,
      "flag": "https://disease.sh/assets/img/flags/al.png"
    },
    "cases": 842,
    "todayCases": 0,
    "deaths": 31,
    "todayDeaths": 0,
    "recovered": 605,
    "active": 206,
    "critical": 7,
    "casesPerOneMillion": 293,
    "deathsPerOneMillion": 11,
    "tests": 9806,
    "testsPerOneMillion": 3407,
    "continent": "Europe"
  },
  {
    "updated": 1588906367528,
    "country": "Algeria",
    "countryInfo": {
      "_id": 12,
      "iso2": "DZ",
      "iso3": "DZA",
      "lat": 28,
      "long": 3,
      "flag": "https://disease.sh/assets/img/flags/dz.png"
    },
    "cases": 5182,
    "todayCases": 0,
    "deaths": 483,
    "todayDeaths": 0,
    "recovered": 2323,
    "active": 2376,
    "critical": 22,
    "casesPerOneMillion": 118,
    "deathsPerOneMillion": 11,
    "tests": 6500,
    "testsPerOneMillion": 148,
    "continent": "Africa"
  },

andrewvanhemelrijck avatar May 08 '20 03:05 andrewvanhemelrijck

nm, looks like it's worldometer data that's empty

andrewvanhemelrijck avatar May 08 '20 03:05 andrewvanhemelrijck

exactly, this is a worldometers problem :)

pujux avatar May 08 '20 06:05 pujux