Wikidata:Requests for permissions/Bot/CovidDatahubBot
New section
[edit]- Can we see correct sample edits? DO NOT OVERWRITE OR DELETE HISTORIC DATA in Wikidata. --- Jura 22:28, 29 December 2020 (UTC)
- @TiagoLubiana:--Ymblanter (talk) 15:31, 30 December 2020 (UTC)
- @Jura1: I get your point, and I generally agree. The canonical way would be to deprecate statements that are not true anymore. I'd argue, though, that for the template page (Template:COVID-19 pandemic death rates (Q102044164)) it is worth it to do re-writes, as the actual source of the information changes, and there is no point keeping the history there. I won't be doing overwrites for the pandemic-related items for each country, and in a few days, I'll provide your sample edits. --TiagoLubiana (talk) 16:08, 30 December 2020 (UTC)
- @Jura1: Sample edits done for 10 different countries. I did not add the "preferred" rank as this would quickly become outdated. What could be done is to set all previous "preferred" to "normal" and set the new one as preferred. This makes its re-use a bit easier. Specific countries for which ranking is being dealt with manually could be excluded. Does that make sense? CovidDatahubBot (talk) 13:02, 10 January 2021 (UTC)
- Looks better. Is there a way to set a better source than enwiki [2]?
- If it's mostly maintained by bot, I'd go ahead and set the rank by bot. Maybe avoid changing deprecated rank to normal (Deprecated would for numbers that for some reason are found to be inaccurate).
- Also, for edits on template items, I don't really mind if it's overwrites data as I don't see template items as part of the main database. --- Jura 15:31, 10 January 2021 (UTC)
- That is great, thank you, Jura. I guess I could set a better source (e.g. the one enwiki is pulling from). It is rather tricky, though, as which source to use. The WHO reports are a bit outdated (but might be a good option: https://covid19.who.int/table) and I'm pulling data from a template which is pulling data from here. I do get cold feet with copyright issues, though. Any thoughts? TiagoLubiana (talk) 13:01, 16 January 2021 (UTC)
- Can we see correct sample edits? DO NOT OVERWRITE OR DELETE HISTORIC DATA in Wikidata. --- Jura 22:28, 29 December 2020 (UTC)
Q87250860: destructive edits
[edit]Hi, Your bot makes destructive edits on the on the COVID-19 pandemic in Luxembourg's wikidata page (https://www.wikidata.org/wiki/Q87250860). Please remove Luxembourg from automatic updates. I'm updating the wikidata page of Luxembourg. thanks --Sultan Edijingo (talk) 19:58, 16 January 2021 (UTC)
- Hello. The update via bot brings wrong numbers for COVID-19 pandemic in Taiwan's item (Q84081307) : indeed, January 15th data is imported as January 16th one. By the way, January 16th were already filled in manually before the bot modification, so it resulted in two contradictory data for the same day ; bot also doesn't fill the recoveries number. I update manually the item for Taiwan with deaths/confirmed/recovered cases every "west-european evening", once data is freezed on the CDC (national health authority) website, at 00:30 PM Taiwanese hour (equivalent to west-european mid-afternoon). Thanks. - Daxipedia - 達克斯百科 (talk) 15:19, 17 January 2021 (UTC)
- Hi @TiagoLubiana:, The work of your Bot was destructive because it added data, that have been already in wikidata, then ignores the possibility of preferred rank for the last data in time, then it ignores other data like clinical tests, recoveries and injuries. These elements had as consequence that the graphics and tables were destructed. If you have a look at https://lb.wikipedia.org/wiki/COVID-19-Pandemie_zu_L%C3%ABtzebuerg you'll see that wikidata code is implemented in much places and the same in the articles about the pandemic in Luxembourg in other languages like https://en.wikipedia.org/wiki/COVID-19_pandemic_in_Luxembourg --Sultan Edijingo (talk) 18:09, 17 January 2021 (UTC)
- Hello @Sultan Edijingo: and @Daxipedia: Thank you for letting me know. I'll add Taiwan to the whitelist. For others that might read this discussion, feel free to open pull requests at the GitHub repository and fix any issues. It is important to point out that Wikidata is an independent project, and we need to coordinate things here to (and not only with particular wikis). The Wikidata:WikiProject_COVID-19 is a good place to know other people involved. It would be great to automate the items for each country with the best sources available. Your work is amazing, and automating is one way to preserve its beyond the bus factor :) TiagoLubiana (talk) 19:41, 17 January 2021 (UTC)
@TiagoLubiana: Your bot also puts wrong data into COVID-19 pandemic in Hungary (Q87119811). I am afraid of that it should be shut down immediately, as incorrect dates and values are not acceptable. Bencemac (talk) 08:20, 18 January 2021 (UTC)
- @Bencemac: The values are imported from Wikipedia. They are dated as in Wikipedia. I see your point, but divergent information, as long as it is sourced, is not wrong, is at most deprecated. As discussed above:
- Please update in the GitHub repository for automatic update of your country.
- I am okay with changing the source of the bot for a more reliable one. So any suggestions are welcome. Maybe the JHU Dashboard directly.
Are you responsible for the updates of COVID-19 pandemic in Hungary (Q87119811)? TiagoLubiana (talk) 11:45, 18 January 2021 (UTC)
- @TiagoLubiana: The bot have added data from 2021-01-16 with point in time (P585)=2021-01-17 from Wikipedia and did it before. This is my problem. And yes, I am updating the page but I am open for stepping down, if it works well. Bencemac (talk) 14:30, 18 January 2021 (UTC)
- @Bencemac: Oh, it was a timezone-related issue, I noticed that. Anyways, it is fixed now, and coming from the source mentioned below, so the date is exactly the one there. TiagoLubiana (talk) 18:30, 18 January 2021 (UTC)
- (Thank you, by the way :) ) TiagoLubiana (talk) 22:15, 21 January 2021 (UTC)
- Hi @TiagoLubiana:, The work of your Bot is being destructive on COVID-19 pandemic in India, because it adds data, that have been already added in wikidata, then ignores the possibility of preferred rank for the last data in time for recoveries. Just have a look at https://www.wikidata.org/wiki/Q84055514 you'll see that every day i am editing the correct numbers for deaths and new cases and recoveries is not updated. For example here the number of recoveries for India is stuck on 15 January 2021 and wont update the new numbers. Please just check what seems to be the problem as i am not expert in this. Dellux mkd (talk) 22:08, 21 January 2021 (UTC)
- Hi @Dellux mkd: thanks for letting me know, I'll remove India from the bot updates. The source does not have recovery information, so unfortunately this is not updated together with the cases. Thanks! TiagoLubiana (talk) 22:15, 21 January 2021 (UTC)
Change to an external sources
[edit]As per multiple requests, I changed the source of the bot to an external one (https://github.com/CSSEGISandData/COVID-19). I am running some test edits. Of course, any item that is reported as manually updated is removed from the batch updates. Thank you for the notices, keep reporting problems with the bot, I'll solve them ASAP. TiagoLubiana (talk) 13:29, 18 January 2021 (UTC)
Report incomplete update
[edit]Hi @TiagoLubiana: In this update the date and reference for the number of cases were missing. --Julián L. Páez (talk) 05:24, 30 January 2021 (UTC)
- Thank you for the report. I believe it was some punctual bug. I will be on the watch for if it repeats itself. Best, TiagoLubiana (talk) 12:50, 1 February 2021 (UTC)
Start updating ranks
[edit]As per requests (by @Kulawik.pl, Btcprox:), I updated the bot to start updating ranks too. It:
- Sets all previous "preferred" ranks on deaths and cases to "normal"
- It set the current, most updated entry as "preferred"
If there are any issues, just let me know!