« first day (294 days earlier)      last day (1810 days later) » 

1:58 AM
0
Q: How many questions remain unanswered related to a particular tag?

Saikat MondalFor example, there are N questions which have a Tag named X (there might be other tags also) and M of the questions remain unanswered. I require the number M associated with all tags in Stack Overflow.

 
 
5 hours later…
6:37 AM
@Feeds answered by Glorfindel
 
 
2 hours later…
8:41 AM
Did a revisit on unanswered SEDE questions and found one that was now answerable: meta.stackexchange.com/questions/263921/…
 
 
3 hours later…
11:34 AM
How exactly do I make a graph? ^^"
 
12:00 PM
@Olivia use a number or date as the first column (x-axis), all other columns will be Y-values, with their column names as labels
 
12:19 PM
Thanks ^^
While I'm asking it, how can I get close votes now? Votes and VoteTypeId = 6 doesn't work any more, and PostHistory appears to only contain closure
 
12:33 PM
Well, specifically, how do I get the amount of questions with close votes per week? I got this in a with atm:
    select DATEADD(DAY, 7 - DATEPART(WEEKDAY, CONVERT(DATE,u.CreationDate)), CONVERT(DATE,u.CreationDate)) as YearMon,
           'Questions with close votes' as Series,
           count(*) as Action
    from PostHistory u
    where u.CreationDate > @epoch AND u.PostHistoryTypeId = 10
    group by u.PostId, DATEADD(DAY, 7 - DATEPART(WEEKDAY, CONVERT(DATE,u.CreationDate)), CONVERT(DATE,u.CreationDate))
which returns 3 or 6, so I'm probably doing something wrong xd
 
1:04 PM
@Olivia at best you can look at pendingflags but actual close votes aren't in the public SEDE until a post is closed. That is what you get from posthistorytypeid = 10
 
yeah, that kinda defeats the purpose then
 
@Olivia if that is to get votes in a month, consider using eomonth(u.creationdate) as that gives you the last day of the month for that given date.
 
It's per week actually
 
Ah, that is a bit more tricky. Maybe this: data.stackexchange.com/stackoverflow/query/1053168#graph ?
 
I'm actually thinking of a different approach, but I probably did something stupid
The amount of review tasks in the CV queue is a pretty close measure. SEDE doesn't fuzzy the numbers either, so I can format it into the same style as the rest of my massive query and sort it by post ID. I think anyway
But on the other hand, I might also have done this completely backward if ReviewTasks is one per post, in which case I actually have that already
That might actually be right
The numbers are somewhat disturbing though x.x
 
1:20 PM
@Olivia let me check
 
Does ReviewTaskStateId = 3 include expired reviews?
 
@Olivia yeah, reviewtaks is one per post (unless it entered the queue multiple times)
 
I think my query is about right then. Still weird that 6-8k close vote review tasks are invalidated/expire per week
Based on SO CV 22983634, invalidation includes expiration
 
@Olivia I think it does. It doesn't include the tasks for now deleted posts I think
 
Great, then I think I've understood the data as well ^^" Thanks for the help btw ^^
 
1:25 PM
yw
 

« first day (294 days earlier)      last day (1810 days later) »