I am interested into comparing tags' value. (Like C++ and C#) Is there any tool or statistics place for that?
-
2This is more a measure of "how willing are followers of this tag to upvote" than "tags' value" in my opinion...– WoobleOct 17, 2014 at 13:30
-
@Wooble Tag's value means that on average people here prefer C++ question over C# one. You could partly describe it as "how willing are...". It's economy stuff.– KugBuBuOct 17, 2014 at 13:42
-
The average person isn't even going to read a haskell question, but when they do, they seem to vote it up.– WoobleOct 17, 2014 at 13:44
-
@Wooble 5.11 value, partly high because of it's rareness. (Same as any other rare material that is useful in a way)– KugBuBuOct 17, 2014 at 13:59
2 Answers
I've created a SEDE query here:
select
sum(p.Score) as TotalScore
,count(p.Id) as NumberOfPosts
,cast(sum(p.Score) as float) / cast(count(p.Id) as float) as AverageScore
from
Posts p
inner join PostTags pt on pt.PostId = p.Id
inner join dbo.Tags t on t.Id = pt.TagId
where
t.TagName = '##tag##'
It's worth noting that deleted posts are not in the data, so heavily downvoted (or upvoted) questions that are deleted will not influence the results.
This is the result for c++:
TotalScore NumberOfPosts AverageScore ---------- ------------- ---------------- 726771 320904 2.26476142397726
And for c#:
TotalScore NumberOfPosts AverageScore ---------- ------------- ---------------- 1288972 706105 1.82546788367169
-
I know nothing about SQL, just to check: are you sure it's not the sum of down votes and up votes? (That down votes count as +1 and up votes too)– KugBuBuOct 17, 2014 at 13:17
-
@KugBuBu
Score
is the number you see to the left of a post, it's the amount of upvotes subtracted by the amount of downvotes. Oct 17, 2014 at 13:17 -
@KugBuBu It's also useful to know that deleted posts are not in the data, so heavily downvoted (or upvoted) questions that are deleted will not influence the results. Oct 17, 2014 at 13:19
-
You can run queries against the Stack Overflow data set on the Stack Exchange Data Explorer. Data there is up to a week old, as the database is refreshed every Sunday.
-
This query data.stackexchange.com/stackoverflow/query/204710/… , seems like it was made to do what you want, however, it's taking to long to run. Try searching for other ones.– CRABOLOOct 17, 2014 at 13:01