Template talk:COVID-19 data

Latest comment: 1 year ago by Tol in topic CDC data not sent to WHO

Decreasing data

edit

Old discussion 1

edit

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Why are the death toll is decreasing? Isn't supposed to be more than 5 million right now? Can someone explain this? And also, if you can, please fix this. I'm so confused. I used to check the statistics everyday, but now since the numbers were unexpectedly decreasing, I decided to use Worldometer instead of Wikipedia. Qhairun (talk) 15:33, 27 December 2021 (UTC)Reply

Qhairun, thanks for pointing out the incorrect death total. Tol maintains the table that updates automatically every day. There must be a bug. Current worldwide death toll in the table is listed as 4,260,075. That is definitely wrong. --Timeshifter (talk) 22:37, 27 December 2021 (UTC)Reply
I've checked the source data and manually run the bot again; it's back to the correct number of 5400292 deaths. I'm not sure what's going on here; if the next day's bot update is wrong again, I'll set up a debug log to try and see if there's some time of day dependent problem with the source data. It also might have just been a temporary problem that has been resolved. Tol (talk | contribs) @ 23:13, 27 December 2021 (UTC)Reply
The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

Old discussion 2

edit

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Yesterday figures for 25th Dec 2021
Country Deaths/million Deaths Cases
World 684 5,392,790 278,891,403
European Union 1,994 891,943 52,820,293
United States 2,452 816,436 51,966,735
Today’s figures for 26th Dec 2021
Country Deaths/million Deaths Cases
World 612 (-72) 4,823,730 (-569,060) 237,803,829 (-41,087,574)
United States 2,452 816,463 (+27) 52,095,411 (+128,676)
European Union 1,590 (-404) 711,113 (-180,830) 41,158,525 (-11,661,768)

Does anyone know or can anyone explain why these OWID numbers have changed so much?

Has anyone found the reliable references for the information on the OWID table yet? I've been referred to the JHU references in the past but the OWID data is not the same as the JHU data so these can't be the correct references for OWID. Where do OWID get their numbers from? I can understand numbers remaining static if not updated over Christmas but they shouldn't reduce like this.BringBackTheStats (talk) 11:43, 27 December 2021 (UTC)Reply

I see now that they've changed again to what they should be.BringBackTheStats (talk) 11:49, 27 December 2021 (UTC)Reply
Sorry, my mistake, they've gone back to the Christmas day update figures. Looks like there's no update for the 26th. Strange that they would update on Christmas day but not on the 26th Dec. So, OWID can move pretty fast and change their updates if they want to. It's a shame they usually leave it 24-36 hours before they can get around to it.BringBackTheStats (talk) 12:04, 27 December 2021 (UTC)Reply
I've noticed this and replied in § Death toll. Tol (talk | contribs) @ 23:15, 27 December 2021 (UTC)Reply
The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

Old discussion 3

edit

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Was there vandalism? I wonder why there are now half a million deaths and about 40 million cases less in the list than just a few days ago. Did someone tamper with the list? --Maxl (talk) 17:48, 26 December 2021 (UTC)Reply

@Maxl: The source of the data, Our World in Data, revised its numbers downwards, and the data were updated to match it. World cases decreased by 41087574, though I can't figure out why. It may be an error on their part, in which case it should resolve itself tomorrow, or a change in the definition of a case. Tol (talk | contribs) @ 20:12, 26 December 2021 (UTC)Reply
@Tol: Thank you for the information! A change of this dimension should be explained by those who make the change, shouldn't it? Well, let's hope it will be resolved by tomoprrow. --Maxl (talk) 21:57, 26 December 2021 (UTC)Reply
The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

New discussion

edit

Maxl, BringBackTheStats, Qhairun, Timeshifter: There were three discussions about this issue on two talk pages, so I've moved them all here so that we can discuss the issue in one place. I've run the bot manually (running it on command instead of the normally scheduled run), and the problem appears to have been resolved for now. I will monitor the data's next update, and if the problem persists, I will temporarily disable the bot's automatic run (and instead manually run it every day and check the data) so that I can figure out the issue. The bot's manual run (and the previous automatic runs) looked fine, so I think there was some unexplained change in the source data. Thank you all for bringing this issue to my attention. Tol (talk | contribs) @ 23:40, 27 December 2021 (UTC)Reply

Thanks Tol! --Timeshifter (talk) 23:55, 27 December 2021 (UTC)Reply
No problem, @Timeshifter! Tol (talk | contribs) @ 00:01, 28 December 2021 (UTC)Reply
Thank you, Tol, for your info! The figures seem to be back to normal for now, and thank you for keeping an eye on the issue. --Maxl (talk) 13:42, 28 December 2021 (UTC)Reply
You're welcome, Maxl! The last update had normal data, so I think the problem's over. Thank you for notifying me of the problem! Tol (talk | contribs) @ 19:33, 28 December 2021 (UTC)Reply

North Korea?

edit

I'm surprised that we don't include North Korea. Even if there's no reliable data from there, readers may still be wondering about it, so it'd be a helpful cue to them to have an empty line. It also seems like a capitulation to the DPRK to exclude them, in a sense validating their strategy of pretending the pandemic isn't a thing there. {{u|Sdkb}}talk 23:02, 15 January 2022 (UTC)Reply

@Sdkb, I've added data for North Korea (zero vaccinations and null cases/deaths); null displays an em dash for no data. Tol (talk | contribs) @ 02:32, 16 January 2022 (UTC)Reply
Looks good; thanks! {{u|Sdkb}}talk 02:56, 16 January 2022 (UTC)Reply
No problem! Tol (talk | contribs) @ 22:02, 16 January 2022 (UTC)Reply

Partial revert

edit

@Tol: I just saw your partial revert saying the template is intentionally styled normally instead of like the others. I was wondering if you could elaborate? I searched and couldn't find where the template is used. So, should I skip this template when updating all the templates to the new styles2.css? Jroberson108 (talk) 23:11, 20 January 2022 (UTC)Reply

@Jroberson108: This template isn't really meant to be used in articles; it's mainly meant to just display the data as plainly as possible (with standard wikitable styles). It's left mostly unstyled so that someone working on the module can see what a generic table would look like without so much CSS, so that one can see what styles are applied by the module to all templates, without also seeing the styles layered on top of that. This template didn't have the original styles, and I don't think it should have the new styles, either. I've gone and restored some of your improvements that I mistakenly reverted along with the styles. Tol (talk | contribs) @ 23:18, 20 January 2022 (UTC)Reply

North Korea cases < deaths

edit

North Korea has 1 confirmed case, 21 of which has died. A very impressive death rate of 2100%. --魔琴 (Zauber Violino) (talk) 15:51, 16 May 2022 (UTC)Reply

@魔琴: It's what they reported, so it's what this reports. These numbers are clearly wrong (if I recall correctly, the 21 deaths number was reported more recently than the 1 case) — but they're all the data we have. Tol (talk | contribs) @ 00:03, 17 May 2022 (UTC)Reply

mw.loadJsonData, read-only table

edit

Hi @Jroberson108, thanks for the revert and sorry for breaking things. What page did you see "Lua error in Module:COVID-19_data at line 58: table from mw.loadJsonData is read-only." on? I must've missed some use case in my testing... Legoktm (talk) 05:28, 24 October 2022 (UTC)Reply

@Legoktm: The template page at Template:COVID-19_pandemic_data. Jroberson108 (talk) 05:32, 24 October 2022 (UTC)Reply
Both have sandbox pages. Templates that use the module are listed on Template:COVID-19_data/doc. Jroberson108 (talk) 05:40, 24 October 2022 (UTC)Reply

Saint Martin

edit

I don't know whether this has anything to do with yesterday's change, but "Saint Martin" now appears as a link to disambiguation page COVID-19 pandemic in Saint Martin on {{COVID-19 pandemic death rates}} and {{COVID-19 pandemic death rates by country}}. Judging by the figures, it refers to COVID-19 pandemic in the Collectivity of Saint Martin (the French bit). Please can anyone help? Certes (talk) 20:55, 11 March 2023 (UTC)Reply

@Certes: If by yesterday's change you mean the fix that was applied to the module, then no it has nothing to do with this. I looked at the JSON data and the name hasn't changed from "Saint Martin", which is where it links to based on the module: "COVID-19 pandemic in " + [name]. I do however see that prior to 9 March 2023 Saint Martin only had a name without any numerical data, so it's probable that it may not have displayed in the tables until recently? Not sure. @Tol: do you have any input? Jroberson108 (talk) 13:35, 12 March 2023 (UTC)Reply
@Certes, @Jroberson108: Thanks for letting me know. I believe this was a similar issue — data was added for a new entity, thereby uncovering previously hidden problems. I've fixed this one too. Tol (talk | contribs) @ 06:14, 14 March 2023 (UTC)Reply

CDC data not sent to WHO

edit

Since the US ended its public health emergency in early May 2023, it appears that the CDC has stopped reporting deaths to the WHO. However, it still collects and reports deaths on its own website. The data from this template for US haven’t changed since mid-May, but the CDC has since reported higher numbers (see https://covid.cdc.gov/covid-data-tracker/#datatracker-home). Is there a way to change where this template draws its data for the US or is just going to be out of date for the US for the foreseeable future? Elftm1m (talk) 16:47, 31 July 2023 (UTC)Reply

@Elftm1m: This wouldn't really work without a reworking of the bot & module systems. I am, however, working on a rework of the COVID-19 pandemic data system (centralising the data with Commons tabular data, so it can be easily ported across wikis without having to set up the bot etc.); I'll see if I can get it to draw data from individual sources. Tol (talk | contribs) @ 19:16, 31 July 2023 (UTC)Reply