Difference between revisions of "Wikidata/Statistics"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
* https://wikidata-todo.toolforge.org/stats.php | * https://wikidata-todo.toolforge.org/stats.php | ||
− | <source lang='bash'> | + | <source lang='bash' highlight='1,2'> |
wget "https://wikidata-todo.toolforge.org/stats.php?action=download" -O wikidatastats.json | wget "https://wikidata-todo.toolforge.org/stats.php?action=download" -O wikidatastats.json | ||
+ | cat wikidatastats.json| jq -r 'keys[] as $k | "\($k), \(.[$k] | .total_items)"' > wikidatastats.csv | ||
</source> | </source> | ||
+ | [[Category:Wikidata]] |
Latest revision as of 09:28, 22 July 2022
wget "https://wikidata-todo.toolforge.org/stats.php?action=download" -O wikidatastats.json
cat wikidatastats.json| jq -r 'keys[] as $k | "\($k), \(.[$k] | .total_items)"' > wikidatastats.csv