Updated to include date pre 2014
OK, this was a learning curve... However, using the below Query I was able to tease-out (what I guess) I was looking for.
SELECT Min(CONVERT(date,creationdate)) AS date,
Year(creationdate) AS PostYear,
Datepart(week, creationdate) AS PostWeek,
Count(*) AS Created,
Count(deletiondate) AS Deleted
FROM postswithdeleted
Where creationdate >= '06/01/2014'
GROUP BY Year(creationdate),
Datepart(week, creationdate)
ORDER BY postyear,
postweek
Full Query and Data found here
Results
So, for some reason the data before the July 2014 is sufficiently different, in turn I excluded them from the results. Maybe someone knows about what happened with pre 2014 data.
The results are based on the following
- The data is obtained from the
PostsWithDeleted
Table
- The Deleted posts are obtained by counting rows with non null
deletiondate
- The Active posts are obtained by subtracting Deleted posts from the Row Count
- The Ratio is just Deleted / Active
- Red is Deleted Posts
- Green is Active Posts (ones that survived the gauntlet)
- The background area is the Ratio between them
- Red is the Accumulation of Deleted Posts
- Green is the Accumulation of Active Posts
- The Blue is the Accumulation Ratio between them
Conclusion
Assuming I am counting the right fields in the right way, I was surprised by the results.
Seemingly the post-per-week count is fairly static, I would have instinctively thought the weekly question count would be growing.
Also, in early 2016 the post-count drops off slightly, maybe this is a real thing, or maybe there is something going on in the background with SO and cleaning up data.
I kind of expected that there would be a higher ratio of deleted posts than in the past. This is just from my own assumption based on what I thought was a growing number of crap questions possibly due to more and more schools teaching programming. So yeah, Deletions have risen, but then they dropped as well. Is this the COC and Be Nice policy, i don't know.
But the elephant in the room is, I thought there would be more and more posts as time goes on, this is not that case. Does it mean SO is dying? I don't think so, I think as a knowledge base its doing exactly what it was designed to do. however those statistics would be found else where.
In summary, this was actually a pointless exercise, I have learnt absolutely nothing and I want my 2 hours back!