Difference between revisions of "Wikidata/Statistics"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
cat wikidatastats.json| jq -r 'keys[] as $k | "\($k), \(.[$k] | .total_items)"' > wikidatastats.csv | 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