kennygrant / coronavirus

Graphing global deaths and confirmed cases due to novel coronavirus (Covid-19)
60 stars 7 forks source link

Broken JSON feed #1

Closed ajstarks closed 4 years ago

ajstarks commented 4 years ago

$ curl --silent https://coronavirus.projectpage.app/.json?period=0 { "version" : 1.0, "country" : "", "province" : "", "dates" : ["Jan 22", "Jan 23", "Jan 24", "Jan 25", "Jan 26", "Jan 27", "Jan 28", "Jan 29", "Jan 30", "Jan 31", "Feb 1", "Feb 2", "Feb 3", "Feb 4", "Feb 5", "Feb 6", "Feb 7", "Feb 8", "Feb 9", "Feb 10", "Feb 11", "Feb 12", "Feb 13", "Feb 14", "Feb 15", "Feb 16", "Feb 17", "Feb 18", "Feb 19", "Feb 20", "Feb 21", "Feb 22", "Feb 23", "Feb 24", "Feb 25", "Feb 26", "Feb 27", "Feb 28", "Feb 29", "Mar 1", "Mar 2", "Mar 3", "Mar 4", "Mar 5", "Mar 6", "Mar 7", "Mar 8", "Mar 9", "Mar 10", "Mar 11", "Mar 12", "Mar 13", "Mar 14", "Mar 15", "Mar 16", "Mar 17", "Mar 18", "Mar 19", "Mar 20", "Mar 21", "Mar 22", "Mar 23", "Mar 24"], "deaths" : [17, 18, 26, 42, 56, 82, 131, 133, 171, 213, 259, 362, 426, 492, 564, 634, 719, 806, 906, 1013, 1113, 1118, 1371, 1523, 1666, 1770, 1868, 2007, 2122, 2247, 2251, 2458, 2469, 2629, 2708, 2770, 2814, 2872, 2941, 2996, 3085, 3160, 3254, 3348, 3460, 3558, 3802, 3988, 4262, 4615, 4720, 5404, 5819, 6440, 7126, 7905, 8733, 9867, 11299, 12973, 14651, 16505, 17149], "confirmed" : [555, 654, 941, 1434, 2118, 2927, 5578, 6166, 8234, 9927, 12038, 16787, 19881, 23892, 27635, 30794, 34391, 37120, 40150, 42762, 44802, 45221, 60368, 66885, 69030, 71224, 73258, 75136, 75639, 76197, 76819, 78572, 78958, 79561, 80406, 81388, 82746, 84112, 86011, 88369, 90306, 92840, 95120, 97882, 101794, 105831, 109805, 113571, 118602, 125875, 128353, 145209, 156104, 167454, 181573, 197150, 214909, 242706, 272164, 304519, 337089, 378547, 392124], "recovered" : template: index.json.got:8:29: executing "index.json.got" at <.series.Recovered>: can't evaluate field Recovered in type interface {}

kennygrant commented 4 years ago

Thanks, this was fixed soon after it went up.

Unfortunately I've had to remove recovered stats for now as the dataset changed dramatically overnight.