I was curious to find out the answer count for each of the languages I golf in.
Using the Stack Exchange Data Explorer, I just wrote a query to answer just that and thought other people might find it interesting.
Here are my languages. Query with your user id to find out yours.
While we're at it, here's a list of all the languages on the site.
The queries are not perfect, and they rely on the answer body to be of the form: <h?>{LanguageName}?
, where:
- the first
?
can be1
,2
, or3
- the second
?
can be space, colon, comma, or<
(after some trial and error I noticed these values work in most of the cases)
Suggestions for improving the queries are welcome.
Edit: Removed the answers to King-of-the-hill questions (improvement suggested by steveverrill)
I also merged the two queries into one, which allows filtering by a user id, or specifying null
to see all stats.
Edit: Improved the query by implementing ProgramFOX's suggestion (parse language names when wrapped in <a>
tags): http://data.stackexchange.com/codegolf/revision/308877/400000/code-golf-languages
Edit: Added "Total Score" column (sum of upvotes): http://data.stackexchange.com/codegolf/revision/308882/400005/code-golf-languages