Wikipedia:Bots/Requests for approval/WugBot 4


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was

WugBot 4
Operator:

Time filed: 04:27, Sunday, March 22, 2020 (UTC)

Function overview: Update data for Template:Interactive COVID-19 maps

Automatic, Supervised, or Manual: Automatic

Programming language(s): Python

Source code available: here

Links to relevant discussions (where appropriate): No explicit discussion, but one of the graphs is currently used on 2019–20 coronavirus pandemic and automatically updating the data would be easier than doing it by hand

Edit period(s): Daily

Estimated number of pages affected: 6

Namespace(s): Template

Exclusion compliant (Yes/No): No, will only run on specific pages

Function details: The bot downloads the daily data set updates from the git repo. Using a combination of R and Python commands, the data are transformed to formats compatible with Template:Interactive COVID-19 maps/common. These CSV files are posted to the various. The bot then updates the start date at Template:Interactive COVID-19 maps/common.

Discussion
Looks good to me. If I may make a low-priority feature request: support for another dataset as a backup in case Johns Hopkins stops updating that one. Enterprisey (talk!) 03:45, 23 March 2020 (UTC)
 * After screaming at my computer screen for many hours, it is finally up and running. I've set the cron job to run at 1:30 UTC which is about an hour after the Johns Hopkins data set is pushed. I'll look into other datasets as well; there seems to be discussions on the talk page about which ones are reliable. — Wug·a·po·des​ 21:08, 24 March 2020 (UTC)
 * I've updated the bot description to include automatically updating the start date in Template:Interactive COVID-19 maps/common. You can see an example of it at Template:Interactive COVID-19 maps/common/botsandbox. — Wug·a·po·des​ 19:52, 27 March 2020 (UTC)
 * — Wug·a·po·des​ 21:12, 31 March 2020 (UTC)
 * Spot checks all look good. If it wouldn't be too much trouble, it looks like a similar request for Cases in 2019–20 coronavirus pandemic has just appeared. One very minor note, if you have extra time: non-lexicographic sort order might make the cumulative deaths and confirmed cases CSVs more human-readable (granted, not the point of those two pages). Thank you very much for creating this bot! Enterprisey (talk!) 02:06, 8 April 2020 (UTC)
 * The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.