The other day Liam and I published the Sum of all Paintings property statistics dashboard at https://www.wikidata.org/wiki/Wikidata:WikiProject_sum_of_all_paintings/Property_statistics . The source code is at https://github.com/multichill/toollabs/blob/master/bot/wikidata/painting_property_statistics.py . This was basically to scratch our own itch: We wanted to have a good overview of progress and completeness for the project we're working on.
We got quite a lot of positive responses and two forks: https://www.wikidata.org/wiki/Wikidata:WikiProject_Video_games/Statistics/Platform & https://www.wikidata.org/wiki/Wikidata:WikiProject_Railways/Property_Statistics . Looks like we weren't the only people with this itch. And I can also think of some of the other projects I participate in where these kind of statistics would be quite useful.
Let's build a service to offer these kind of statistics.
- Service is Pywikibot based and runs under a tools account on Toolforge
- Every page in need of statistics has a start and end template just like Listeriabot (see https://www.wikidata.org/wiki/Template:Wikidata_list)
- The start template contains all the relevant variables for the bot to function
- The bot runs every once in a while to update these pages (might implement manual run too)
This would probably be a fun project to work on during the Prague hackathon in May.