Mean Expertise Contribution (MEC) in a tag

2

Please login or register to vote for this query.

(click on this box to dismiss)

Amateur Radio

Q&A for amateur radio enthusiasts

-- http://yangjiera.github.io/home/works/umap2014_experts.pdf

with questions as (
  select a.OwnerUserId UserId,
         rank() over (order by a.Score desc) AU
  from Posts q
       join Posts a on q.Id = a.ParentId
       join PostTags on q.Id = PostId
       join Tags t on TagId = t.Id
  where TagName = '##tag##' --and q.Id = 9929585
)

select UserId as [User Link],
       sum(AU)/count(*)
from questions
group by UserId
order by avg(AU) desc

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results