8

I want to get count of the deleted answers for given user. I have written this SEDE query:

https://data.stackexchange.com/meta.stackoverflow/revision/886198/1099709/count-of-the-answers-deleted-for-user

This outputs 0 with my user id as parameter which is wrong.

Can someone please help me to correct this query?

3
  • 7
    SEDE does not track deleted posts. So 0 is the correct result. Commented Aug 13, 2018 at 9:16
  • 1
    SEDE including deleted posts would kind of defeat the purpose of the view deleted posts privilege. Commented Aug 13, 2018 at 9:30
  • 1
    @Justastudent: I do not want to "view" the deleted post. I just want its count.
    – Amit Joshi
    Commented Aug 13, 2018 at 12:48

1 Answer 1

20

Deleted posts in SEDE are available, but anonymized. This means you can't view the count of deleted answers for a specific user.

Deleted posts also get removed from related tables like PostHistory to avoid people working around the anonymization.

7
  • Is there a way to delete that SEDE query? That query looks useless now. Others may get confused.
    – Amit Joshi
    Commented Aug 13, 2018 at 9:55
  • Not as far as I know. I don't think SEDE offers the possibility of deleting queries at all. You can add a comment saying this doesn't work, though, if you still have it open.
    – Erik A
    Commented Aug 13, 2018 at 9:59
  • Is there a way to know how many (my own) questions and/or answers I have deleted so far?
    – Amit Joshi
    Commented Aug 13, 2018 at 12:47
  • Not unless you get >10K rep or find a willing mod, as far as I know. You can search with user:me deleted:true, but afaik that's only the last 2 months for users with less than 10K rep (user:me is strictly not even needed because you can only search your own deleted posts).
    – Erik A
    Commented Aug 13, 2018 at 12:53
  • 1
    (Possibly, you can get all your data by submitting a GDPR data request here. This should include all your deleted posts, afaik, but I haven't tried)
    – Erik A
    Commented Aug 13, 2018 at 13:02
  • @ErikvonAsmuth That also gives me my posts that aren't deleted: meta.stackoverflow.com/search?q=user%3A4733879+deleted%3Atrue So this feature seems kinda broken for <10K rep users.
    – Filnor
    Commented Aug 14, 2018 at 7:32
  • @Filnor Yes, sorry. This apparently doesn't work at all for <10K rep users. You can use the deleted recent questions and deleted recent answers links on your profile instead. The links are meta.stackoverflow.com/users/recently-deleted-answers/userid and meta.stackoverflow.com/users/recently-deleted-questions/userid where you have to fill in your userid of course.
    – Erik A
    Commented Aug 14, 2018 at 7:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .