Wikidata:Requests for permissions/Bot/CovidDatahubBot

From Wikidata
Jump to navigation Jump to search


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)[reply]
      @TiagoLubiana:--Ymblanter (talk) 15:31, 30 December 2020 (UTC)[reply]
      @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)[reply]
      @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)[reply]
      • 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)[reply]
      • 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)[reply]

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)[reply]

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)[reply]
  • 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)[reply]

@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)[reply]

  • @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)[reply]

@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)[reply]
@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)[reply]
(Thank you, by the way :) ) TiagoLubiana (talk) 22:15, 21 January 2021 (UTC)[reply]

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)[reply]

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)[reply]

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!

Best, TiagoLubiana (talk) 13:04, 1 February 2021 (UTC)[reply]