Skip to content

Instantly share code, notes, and snippets.

@kebman
Last active April 23, 2020 05:17
Show Gist options
  • Save kebman/f65a9819dda24e8871e4369b685cee0d to your computer and use it in GitHub Desktop.
Save kebman/f65a9819dda24e8871e4369b685cee0d to your computer and use it in GitHub Desktop.
COVID-19 data from Norway: Tested, Infected, Hospitalized, Dead.
"source":"https://www.vg.no/spesial/2020/corona/",
"events":[
{"2020-03-13":"Change of test criteria"},
{"2020-03-26":"NIPH (FHI) uses MSIS data"},
{"2020-04-20":"Partial reopening of kindergartens and hair dressers"}
],
"majorReCheckOfDataset":["2020-04-03"],
"lastUpdated":["2020-04-03", "2020-04-08", "2020-04-17", "2020-04-21"],
"coronaTestDataForNorway": [
{
"date": "2020-02-25",
"testedPositive": 0
},
{
"date": "2020-02-26",
"testedPositive": 1
},
{
"date": "2020-02-27",
"testedPositive": 4
},
{
"date": "2020-02-28",
"testedPositive": 6
},
{
"date": "2020-02-29",
"testedPositive": 15
},
{
"date": "2020-03-01",
"testedPositive": 19
},
{
"date": "2020-03-02",
"testedPositive": 24
},
{
"date": "2020-03-03",
"testedPositive": [32, 36]
},
{
"date": "2020-03-04",
"testedPositive": [63, 69]
},
{
"date": "2020-03-05",
"testedPositive": [93, 99]
},
{
"date": "2020-03-06",
"testedPositive": [129, 130, 135]
},
{
"date": "2020-03-07",
"testedPositive": [156, 157, 162]
},
{
"date": "2020-03-08",
"testedPositive": [173, 174, 179]
},
{
"date": "2020-03-09",
"testedPositive": [227, 228, 233],
"hospitalized": 2
},
{
"date": "2020-03-10",
"testedPositive": [404, 405, 410],
"hospitalized": 9
},
{
"date": "2020-03-11",
"testedInNorway": "not available",
"testedPositive": [630, 631, 636],
"hospitalized": [0, 14],
"dead": 0
},
{
"date": "2020-03-12",
"testedInNorway": 10448,
"testedPositive": [804, 805, 810],
"testedPositivePercentage": 7.69525268,
"healthWorkersTestedPositive": 0,
"hospitalized": [32, 29],
"hospitalizationPercentage": 3.9800995,
"dead": 1,
"lethalityPercentage": 0.124378109
},
{
"date": "2020-03-13",
"testedInNorway": 11978,
"testedPositive": [995, 996, 1000],
"testedPositivePercentage": 8.30689598,
"healthWorkersTestedPositive": 1,
"healthWorkersQuarantined": 0,
"hospitalized": [36, 33],
"hospitalizationPercentage": 3.61809045,
"inRespirator": 4,
"dead": 1,
"lethalityPercentage": 0.100502513
},
{
"date": "2020-03-14",
"testedInNorway": 13748,
"testedPositive": [1113, 1108, 1111],
"testedPositivePercentage": 8.09572301,
"healthWorkersTestedPositive": 22,
"healthWorkersQuarantined": 2372,
"hospitalized": 39,
"hospitalizationPercentage": 3.50404313,
"inRespirator": 4,
"dead": 3,
"lethalityPercentage": 0.269541779
},
{
"date": "2020-03-15",
"testedInNorway": ["not available"],
"testedInNorwaySlopeIntercept": 16355,
"testedPositive": [1264, 1259, 1262],
"testedPositivePercentage": 7.72852339,
"healthWorkersTestedPositive": 49,
"healthWorkersQuarantined": 3365,
"hospitalized": 50,
"hospitalizationPercentage": 3.9556962,
"inICU": 4,
"inRespirator": 5,
"dead": 3,
"lethalityPercentage": 0.237341772
},
{
"date": "2020-03-16",
"testedInNorway": [18962, 18062],
"testedPositive": [1359, 1354, 1357],
"testedPositivePercentage": 7.16696551,
"healthWorkersTestedPositive": 83,
"healthWorkersQuarantined": 4924,
"hospitalized": 58,
"hospitalizationPercentage": 4.267844,
"inICU": 11,
"inRespirator": [0, 10],
"dead": 3,
"lethalityPercentage": 0.220750552
},
{
"date": "2020-03-17",
"testedInNorway": 21647,
"testedPositive": [1484, 1479, 1482],
"testedPositivePercentage": 6.85545341,
"healthWorkersTestedPositive": 97,
"healthWorkersQuarantined": 6607,
"hospitalized": 74,
"hospitalizationPercentage": 4.98652291,
"inICU": 15,
"inRespirator": 13,
"dead": 3,
"lethalityPercentage": 0.202156334
},
{
"date": "2020-03-18",
"testedInNorway": 28522,
"testedPositive": [1614, 1609, 1613],
"testedPositivePercentage": 5.65878971,
"healthWorkersTestedPositive": 122,
"healthWorkersQuarantined": 8263,
"hospitalized": 86,
"hospitalizationPercentage": 5.3283767,
"inICU": 20,
"inRespirator": [15, 16],
"dead": 6,
"lethalityPercentage": 0.371747212
},
{
"date": "2020-03-19",
"testedInNorway": 37939,
"testedPositive": [1794, 1789, 1791],
"testedPositivePercentage": 4.72864335,
"healthWorkersTestedPositive": 143,
"healthWorkersQuarantined": [8534, 8943],
"hospitalized": 104,
"hospitalizationPercentage": 5.79710145,
"inICU": 23,
"inRespirator": 19,
"dead": 7,
"lethalityPercentage": 0.390189521
},
{
"date": "2020-03-20",
"testedInNorway": 43735,
"testedPositive": [1998, 1992, 1994],
"testedPositivePercentage": 4.56842346,
"healthWorkersTestedPositive": 191,
"healthWorkersQuarantined": [9476, 10076],
"hospitalized": 130,
"hospitalizationPercentage": 6.50650651,
"inICU": 30,
"inRespirator": [27, 26],
"dead": 7,
"lethalityPercentage": 0.35035035
},
{
"date": "2020-03-21",
"testedInNorway": 49451,
"testedPositive": [2200, 2206, 2196],
"testedPositivePercentage": 4.44884835,
"healthWorkersTestedPositive": 210,
"healthWorkersQuarantined": 9487,
"hospitalized": [155, 154],
"hospitalizationPercentage": 7.04545455,
"inICU": 33,
"inRespirator": 28,
"dead": 7,
"lethalityPercentage": 0.318181818
},
{
"date": "2020-03-22",
"testedInNorway": 54393,
"testedPositive": [2403, 2413, 2403],
"testedPositivePercentage": 4.41784788,
"healthWorkersTestedPositive": 229,
"healthWorkersQuarantined": 8822,
"hospitalized": [174, 173],
"hospitalizationPercentage": 7.24094881,
"inICU": 38,
"inRespirator": 32,
"dead": 7,
"lethalityPercentage": 0.291302538
},
{
"date": "2020-03-23",
"testedInNorway": 61251,
"testedPositive": [2636, 2650, 2640],
"testedPositivePercentage": 4.30360321,
"healthWorkersTestedPositive": 233,
"healthWorkersQuarantined": 8111,
"hospitalized": 199,
"hospitalizationPercentage": 7.54931715,
"inICU": 50,
"inRespirator": [41, 39],
"dead": 10,
"lethalityPercentage": 0.379362671
},
{
"date": "2020-03-24",
"testedInNorway": 70608,
"testedPositive": [2893, 2928, 2918],
"testedPositivePercentage": 4.09726943,
"healthWorkersTestedPositive": 287,
"healthWorkersQuarantined": [7780, 7770],
"hospitalized": 212,
"hospitalizationPercentage": 7.32803318,
"inICU": 51,
"inRespirator": 44,
"dead": 12,
"lethalityPercentage": 0.414794331
},
{
"date": "2020-03-25",
"testedInNorway": [73089, 73892],
"testedPositive": [3084, 3174, 3164],
"testedPositivePercentage": 4.2195132,
"healthWorkersTestedPositive": 299,
"healthWorkersQuarantined": [7184, 7332],
"hospitalized": 240,
"hospitalizationPercentage": 7.78210117,
"inICU": 72,
"inRespirator": 57,
"dead": [14, 13],
"lethalityPercentage": 0.453955901
},
{
"date": "2020-03-26",
"testedInNorway": 78036,
"testedPositive": [3370, 3403, 3387],
"testedPositivePercentage": 4.31851966,
"healthWorkersTestedPositive": 324,
"healthWorkersQuarantined": [6314, 6464],
"hospitalized": 265,
"hospitalizationPercentage": 7.86350148,
"inICU": 75,
"inRespirator": 70,
"dead": 14,
"lethalityPercentage": 0.415430267
},
{
"date": "2020-03-27",
"testedInNorway": 82584,
"testedPositive": [3771, 3784, 3750],
"testedPositivePercentage": 4.56625981,
"healthWorkersTestedPositive": 358,
"healthWorkersQuarantined": [5507, 5454],
"hospitalized": 302,
"hospitalizationPercentage": 8.00848581,
"inICU": 91,
"inRespirator": [76, 77],
"dead": 19,
"lethalityPercentage": 0.503845134
},
{
"date": "2020-03-28",
"testedInNorway": 85136,
"testedPositive": [4039, 4065, 4014],
"testedPositivePercentage": 4.74417403,
"healthWorkersTestedPositive": 368,
"healthWorkersQuarantined": 5042,
"hospitalized": 292,
"hospitalizationPercentage": 7.22951226,
"inICU": 101,
"inRespirator": 84,
"dead": [25, 23],
"lethalityPercentage": 0.61896509
},
{
"date": "2020-03-29",
"testedInNorway": 87191,
"testedInNorwaySlopeIntercept": 86163.5,
"testedPositive": [4284, 4316, 4260],
"testedPositivePercentage": 4.91335115,
"healthWorkersTestedPositive": 373,
"healthWorkersQuarantined": [4815, 4811, 4752],
"hospitalized": 314,
"hospitalizationPercentage": 7.32959851,
"inICU": 104,
"inRespirator": 91,
"dead": 26,
"lethalityPercentage": 0.60690943
},
{
"date": "2020-03-30",
"testedInNorway": [87191, 90242],
"testedPositive": [4466, 4479, 4422],
"testedPositivePercentage": 4.94891514,
"healthWorkersTestedPositive": 395,
"healthWorkersQuarantined": [4060, 4053, 4063],
"hospitalized": 322,
"hospitalizationPercentage": 7.21003135,
"inICU": 110,
"inRespirator": 97,
"dead": 32,
"lethalityPercentage": 0.716524854
},
{
"date": "2020-03-31",
"testedInNorway": 94265,
"testedPositive": [4668, 4698, 4645],
"testedPositivePercentage": 4.95199703,
"healthWorkersTestedPositive": [408, 410],
"healthWorkersQuarantined": [3405, 3418, 3524],
"hospitalized": 317,
"hospitalizationPercentage": 6.79091688,
"inICU": 117,
"inRespirator": 97,
"dead": 39,
"lethalityPercentage": 0.835475578
},
{
"date": "2020-04-01",
"testedInNorway": 98587,
"testedPositive": [4898, 4841],
"testedPositivePercentage": 4.96820068,
"healthWorkersTestedPositive": 437,
"healthWorkersQuarantined": [3053, 3201],
"hospitalized": [321, 324],
"hospitalizationPercentage": 6.61494488,
"inICU": 114,
"inRespirator": [105, 99],
"dead": 44,
"lethalityPercentage": 0.898325847
},
{
"date": "2020-04-02",
"testedInNorway": [101986, 98587],
"testedPositive": [5161, 5101, 5084],
"testedPositivePercentage": [5.0604985, 5.17411018],
"healthWorkersTestedPositive": 447,
"healthWorkersQuarantined": [2883, 3058],
"hospitalized": 316,
"hospitalizationPercentage": 6.12284441,
"inICU": 110,
"inRespirator": 96,
"dead": 50,
"lethalityPercentage": 0.968804495
},
{
"date": "2020-04-03",
"testedInNorway": 101986,
"testedPositive": [5314, 5303],
"testedPositivePercentage": 5.21051909,
"healthWorkersTestedPositive": 454,
"healthWorkersQuarantined": [2624, 2723],
"hospitalized": 319,
"hospitalizationPercentage": 6.00301091,
"inICU": 112,
"inRespirator": 96,
"dead": 60,
"lethalityPercentage": 1.12909296
},
{
"date": "2020-04-04",
"testedInNorway": 105865,
"testedPositive": [5488, 5493],
"testedPositivePercentage": 5.1839607,
"healthWorkersTestedPositive": 465,
"healthWorkersQuarantined": [2201, 2294],
"hospitalized": 309,
"hospitalizationPercentage": 5.63046647,
"inICU": 114,
"inRespirator": 98,
"dead": 62,
"lethalityPercentage": 1.12973761
},
{
"date": "2020-04-05",
"testedInNorway": 108709,
"testedPositive": [5596, 5629],
"testedPositivePercentage": 5.14768786,
"healthWorkersTestedPositive": 475,
"healthWorkersQuarantined": [2207, 2252],
"hospitalized": 308,
"hospitalizationPercentage": 5.50393138,
"inICU": 109,
"inRespirator": 89,
"dead": 71,
"lethalityPercentage": 1.2687634
},
{
"date": "2020-04-06",
"testedInNorway": 111299,
"testedPositive": [5694, 6771],
"testedPositivePercentage": 5.11594893,
"healthWorkersTestedPositive": 477,
"healthWorkersQuarantined": [2037, 2082],
"hospitalized": [314, 312],
"hospitalizationPercentage": 5.51457675,
"inICU": 105,
"inRespirator": 83,
"dead": 77,
"lethalityPercentage": 1.35230067
},
{
"date": "2020-04-07",
"testedInNorway": 113896,
"testedPositive": [5907, 5910],
"testedPositivePercentage": 5.18631032,
"healthWorkersTestedPositive": 518,
"healthWorkersQuarantined": [1914, 1950],
"hospitalized": [201, 279],
"hospitalizationPercentage": 3.40274251,
"inICU": 101,
"inRespirator": 78,
"dead": [89, 88],
"lethalityPercentage": 1.50668698
},
{
"date": "2020-04-08",
"testedInNorway": 118077,
"testedPositive": 6037,
"testedPositivePercentage": "pending",
"healthWorkersTestedPositive": "pending",
"healthWorkersQuarantined": 1785,
"hospitalized": 248,
"hospitalizationPercentage": "pending",
"inICU": 95,
"inRespirator": 70,
"dead": 100,
"lethalityPercentage": "pending"
},
{
"date": "2020-04-09",
"testedInNorway": 121034,
"testedPositive": 6188,
"testedPositivePercentage": "pending",
"healthWorkersTestedPositive": "pending",
"healthWorkersQuarantined": 1637,
"hospitalized": 252,
"hospitalizationPercentage": "pending",
"inICU": 92,
"inRespirator": 70,
"dead": 107,
"lethalityPercentage": "pending"
},
{
"date": "2020-04-10",
"testedInNorway": 123170,
"testedPositive": 6285,
"testedPositivePercentage": "pending",
"healthWorkersTestedPositive": "pending",
"healthWorkersQuarantined": 1402,
"hospitalized": 231,
"hospitalizationPercentage": "pending",
"inICU": 89,
"inRespirator": 67,
"dead": 112,
"lethalityPercentage": "pending"
},
{
"date": "2020-04-11",
"testedInNorway": 124279,
"testedPositive": 6376,
"testedPositivePercentage": "pending",
"healthWorkersTestedPositive": "pending",
"healthWorkersQuarantined": 1371,
"hospitalized": 214,
"hospitalizationPercentage": "pending",
"inICU": 83,
"inRespirator": 64,
"dead": 118,
"lethalityPercentage": "pending"
},
{
"date": "2020-04-12",
"testedInNorway": 126486,
"testedPositive": 6446,
"testedPositivePercentage": "pending",
"healthWorkersTestedPositive": "pending",
"healthWorkersQuarantined": 1336,
"hospitalized": 215,
"hospitalizationPercentage": "pending",
"inICU": 79,
"inRespirator": 59,
"dead": 127,
"lethalityPercentage": "pending"
},
{
"date": "2020-04-13",
"testedInNorway": 127305,
"testedPositive": 6514,
"testedPositivePercentage": "pending",
"healthWorkersTestedPositive": "pending",
"healthWorkersQuarantined": 1278,
"hospitalized": 203,
"hospitalizationPercentage": "pending",
"inICU": 73,
"inRespirator": 58,
"dead": 133,
"lethalityPercentage": "pending"
},
{
"date": "2020-04-14",
"testedInNorway": 128569,
"testedPositive": 6614,
"testedPositivePercentage": "pending",
"healthWorkersTestedPositive": "pending",
"healthWorkersQuarantined": 1299,
"hospitalized": 201,
"hospitalizationPercentage": "pending",
"inICU": 71,
"inRespirator": 53,
"dead": 139,
"lethalityPercentage": "pending"
},
{
"date": "2020-04-15",
"testedInNorway": 130216,
"testedPositive": 6739,
"testedPositivePercentage": "pending",
"healthWorkersTestedPositive": "pending",
"healthWorkersQuarantined": 1407,
"hospitalized": 192,
"hospitalizationPercentage": "pending",
"inICU": 64,
"inRespirator": 52,
"dead": 148,
"lethalityPercentage": "pending"
},
{
"date": "2020-04-16",
"testedInNorway": 133707,
"testedPositive": 6847,
"testedPositivePercentage": "pending",
"healthWorkersTestedPositive": "pending",
"healthWorkersQuarantined": 1296,
"hospitalized": 177,
"hospitalizationPercentage": "pending",
"inICU": 64,
"inRespirator": 52,
"dead": 151,
"lethalityPercentage": "pending"
},
{
"date": "2020-04-17",
"testedInNorway": 136236,
"testedPositive": 6928,
"testedPositivePercentage": "pending",
"healthWorkersTestedPositive": "pending",
"healthWorkersQuarantined": 1329,
"hospitalized": 165,
"hospitalizationPercentage": "pending",
"inICU": 65,
"inRespirator": 51,
"dead": 160,
"lethalityPercentage": "pending"
},
{
"date": "2020-04-18",
"testedInNorway": 139668,
"testedPositive": 7028,
"testedPositivePercentage": "pending",
"healthWorkersTestedPositive": "pending",
"healthWorkersQuarantined": 1099,
"hospitalized": 151,
"hospitalizationPercentage": "pending",
"inICU": 61,
"inRespirator": 47,
"dead": 163,
"lethalityPercentage": "pending"
},
{
"date": "2020-04-19",
"testedInNorway": 142166,
"testedPositive": 7071,
"testedPositivePercentage": "pending",
"healthWorkersTestedPositive": "pending",
"healthWorkersQuarantined": 1048,
"hospitalized": 158,
"hospitalizationPercentage": "pending",
"inICU": 58,
"inRespirator": 48,
"dead": 164,
"lethalityPercentage": "pending"
},
{
"date": "2020-04-20",
"testedInNorway": 143255,
"testedPositive": 7127,
"testedPositivePercentage": "pending",
"healthWorkersTestedPositive": "pending",
"healthWorkersQuarantined": 1032,
"hospitalized": 162,
"hospitalizationPercentage": "pending",
"inICU": 58,
"inRespirator": 43,
"dead": 181,
"lethalityPercentage": "pending"
},
{
"date": "2020-04-21",
"testedInNorway": "pending",
"testedPositive": "pending",
"testedPositivePercentage": "pending",
"healthWorkersTestedPositive": "pending",
"healthWorkersQuarantined": "pending",
"hospitalized": "pending",
"hospitalizationPercentage": "pending",
"inICU": "pending",
"inRespirator": "pending",
"dead": "pending",
"lethalityPercentage": "pending"
},
],
"methods": {
"hospitalizationPercentage": "hospitalized/testedPositive*100",
"lethalityPercentage": "dead/testedPositive*100",
"testedPositivePercentage":"testedPositive/testedInNorway*100",
"testedInNorwaySlopeIntercept": "testedPositive1+(testedPositive2-testedPositive1)/(date2-date1)"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment