Ask Your Question
4

Tag subscription statistics commands

asked 2011-01-14 09:43:43 -0500

Benoit gravatar image

updated 2011-01-21 19:18:44 -0500

Evgeny gravatar image

I would like to see a couple of commands that would help me gather information on tag usage.

Tag subscription Statistics
For every tags in the system, dump the number of users that have the tag marked as interesting and ingored.
This would allow an admin to know what tags are being followed (as opposed to how the questions are classified).

manage.py tag-sub-stats
Tag              Interesting  Ignore
===============  ===========  ======
centOS                2         0
fedora                22        5
...

User Tags Usage
For every user in the system, prints out the list of ignored and followed tags

manage.py tag-user-list
User              Tags
===============  ======
joe              Int: red-hat fedora centOS 
                 Ign: ubuntu suse
bob              Int: ubuntu
                 Ign: fedora
edit retag flag offensive close merge delete

Comments

Shall be done, thanks.
Evgeny gravatar imageEvgeny ( 2011-01-14 19:25:39 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-01-21 19:18:00 -0500

Evgeny gravatar image

updated 2011-01-21 19:18:27 -0500

Made a simple command get_tag_stats (in revision 0.6.61) to be used with one of the options - either -t - per tag or -u - per user. The output format is a little different, I think yours is better for the 'tag-user-list'. I can fix that if you like.

The command is also described at the documentation page (browser cache may need to be purged - still need to fix the caching of doc pages).

edit flag offensive delete link more

Comments

1
That's fantastic! In fact, yours is better since some users have a large list of tags. Thanks
Benoit gravatar imageBenoit ( 2011-01-21 22:48:09 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-01-14 09:43:43 -0500

Seen: 140 times

Last updated: Jan 21 '11