Questions tagged [data-explorer]

For questions about the functionalities, queries, databases and datamodel of The Stack Exchange Data Explorer (SEDE). SEDE allows you to create and run queries against copies of the databases of popular Stack Exchange sites.

Filter by
Sorted by
Tagged with
4 votes
2 answers
214 views

Search for comments on posts with a certain tag based on a keyword

I am trying to get the comments on posts with a specific tag which include a phrase or a keyword of interest using SEDE. Here's my first attempt: https://data.stackexchange.com/stackoverflow/query/...
M--'s user avatar
  • 1,924
-9 votes
1 answer
104 views

Finding my upvotes on Data Explorer

This T-SQL finds all the questions I have answered on SO. https://data.stackexchange.com/stackoverflow/query/1779459/questions-i-have-answered I want to determine if I upvoted the question or not (as ...
JMP's user avatar
  • 121
8 votes
1 answer
194 views

SQL query used to calculate staff escalation statistics doesn't take into account different tag names for international sites

This is a bug report of a SQL query used at What posts should be escalated to staff using [status-review], and how do I escalate them?. In the above post, status-review posts are counted using this ...
nekketsuuu's user avatar
  • 1,605
-10 votes
1 answer
114 views

Add option to download a message in SEDE

In SEDE, one can download the results as a CSV file, but there are no options to download a message. Feature request: Add an option to download a message in SEDE. That'd be useful for queries ...
Franck Dernoncourt's user avatar
4 votes
1 answer
53 views

Can I see other user's badge progress and/or tag progress short of doing SEDE query?

I can see my own badge/tag progress in the "Select your next badge" dialog box from the User Activity screen. For example, I can see that I'm 455/500 for a gold Copy Editor badge in ...
GratefulDisciple's user avatar
3 votes
1 answer
113 views

Discrepancy in Post Counts between Local MySQL Stack Overflow Database and Data Stack Exchange Query

I recently downloaded the Stack Overflow data from Stack Overflow datadump and imported it into my local MySQL database. While attempting to retrieve the total number of posts for the year 2021 using ...
I192058 Misbah Minhas's user avatar
1 vote
0 answers
86 views

What am I supposed to do when I get what is probably the "requires external JavaScript" error for the chat domains and SEDE?

I'm suddenly getting this error in my main sites (like SO and MSE) Meta Stack Exchange requires external JavaScript from another domain, which is blocked or failed to load. Retry using another source....
starball's user avatar
  • 18.2k
66 votes
11 answers
4k views

The company's commitment to the data dumps, the API, and SEDE

Many words have been written around the company's commitment to the ongoing existence of the data dumps, the API, and the Stack Exchange Data Explorer (SEDE). Much of that text can be confusing or ...
Philippe's user avatar
  • 19.7k
9 votes
2 answers
261 views

What exactly do VoteTypeId=4 (offensive) and VoteTypeId=12 (spam) mean?

According to the Database schema documentation for SEDE, the table Votes contains as VoteTypeId 4 = Offensive and 12 = Spam. The latter was mentioned, for example, here: How to find posts closed as ...
Martin's user avatar
  • 15k
3 votes
1 answer
370 views

How can I download a small data set (1 year 2023-2022) from Stack Exchange?

I want to download a small dataset for one year. I didn't find a link that allows me to download 1 year of data or the last five years' data. I tried "https://data.stackexchange.com/stackoverflow/...
I192058 Misbah Minhas's user avatar
2 votes
2 answers
166 views

Does Stack Exchange offer any incentives related to use of their data explorer in research?

I'm interested in whether or not there have historically been this sort of partnership with research in the academic space or if it is planned for the future. This could be something like a grant, ...
William Ledbetter's user avatar
5 votes
1 answer
180 views

Ranking users with most edits and close votes on a specific tag

A while back I asked this question about writing a query which would rank users based on their number of close votes on posts related to a specific tag: Table of users ranked based on their number of ...
M--'s user avatar
  • 1,924
1 vote
0 answers
36 views

View "people reached" data/trend through time for user

Is there a way to view a trend (graphically or tabulated) in the number of "people reached" per user per site? E.g., to see how many people a user's posts impacted monthly or annually, etc. ...
theforestecologist's user avatar
5 votes
2 answers
165 views

Table of users ranked based on their number of close votes in a specific tag

I am trying to get the list of users that have the most number of close votes (tallying each type of close votes; i.e. Duplicates, Too Broad, Need MRE, Not About Programming, etc.) in a specific tag. ...
M--'s user avatar
  • 1,924
5 votes
0 answers
37 views

Add a bit column for whether a badge is retired in SEDE or a RetiredDate column

It would be nice (for example) to be able to easily filter out badges that are retired when querying SEDE for analysis purposes. A bit for it would work, or alternatively, a nullable RetiredDate. Or ...
starball's user avatar
  • 18.2k
3 votes
1 answer
71 views

Why does this SEDE query think that the MathOverflow Meta is mathoverflow.meta.stackexchange.com?

I ran a query created by @peterh to find all my network posts. It works perfectly for the task, but it believes that all my posts made to MathOverflow Meta were actually made to https://mathoverflow....
LSpice's user avatar
  • 159
4 votes
0 answers
105 views

Some sites names shown in Data Explorer Stack Exchange doesn't match the current site name. Is this a bug or a feature?

Volume 1 : TL;DR Please fix the names of the sites in Data Explorer of Community Building, Music: Practice & Theory, Medical Sciences, Mythology and Folklore, Bricks, Cross Validated and "...
Wicket's user avatar
  • 830
13 votes
1 answer
293 views

Weekly SEDE refresh may be stuck restoring Literature.SE

I'm again looking at rene's SEDE query Status of the SEDE Refresh on Sunday 03:00 UTC to check the status, which is currently (in part): . category database_id Description create_date days ago 3 ...
Jeff Schaller's user avatar
-13 votes
1 answer
142 views

Why have you hidden the "Data Explorer" tool?

Why is Data Explorer tool accessed only by clicking the word "Data" at the bottom of the page? Correct it. Change the word "Data" to "Data Explorer". Bring the word &...
user avatar
8 votes
1 answer
169 views

When were comments first available on Stack Exchange?

I am curious about when comments first became available on Stack Exchange (or whatever the site was when the development occurred). I ask this because, in the Database schema documentation for the ...
William Ledbetter's user avatar
-19 votes
3 answers
257 views

Can GPT-4 be used to do SEDE queries?

I don't know how to do SEDE queries, but I would like to explore some of the Earth Science Stack Exchange data. Once I needed a query it was done by user rene, but I have many queries to do on Earth ...
user avatar
10 votes
0 answers
97 views

Add tooltip with exact timestamp to 'Data updated ... ago' label on SEDE homepage

Can we add a tooltip with the exact UTC timestamp to the 'Data updated ... ago' label on the SEDE homepage? It would help indicating whether the refresh was slow (as it was today) or even incomplete. ...
Glorfindel's user avatar
  • 247k
1 vote
0 answers
31 views

Where is the GitHub link in the Data Exchange Explorer located? [duplicate]

I went closely over the SEDE's fields, but couldn't find where the GitHub link is saved for a user: I ran this query on my own profile but couldn't find my GitHub account.
abbood's user avatar
  • 363
3 votes
1 answer
113 views

How do I get the highest posters for a certain tag in a specific country?

I would like to get the user IDs, user names, the number of posts, and the total score for a certain tag for each user in a specific country (sorted in descending order by score). For example, in the ...
abbood's user avatar
  • 363
2 votes
2 answers
79 views

How can I get the total number of posts for a user that have a certain tag in them?

User abbood (myself) has eight posts (in total) that have the tag cocoapods; six questions and two answers. I thought that this query should simply get all eight: SELECT Count(*) FROM posts p ...
abbood's user avatar
  • 363
0 votes
0 answers
60 views

Why isn't the summation of a user's score equal to their reputation? [duplicate]

I was going over the database schema documentation and was trying to understand how the Post scoring system works. I was expecting this query: select sum(p.score) from posts p where p.OwnerUserId = ...
abbood's user avatar
  • 363
3 votes
1 answer
59 views

How can I find users with a specific number of earned/offered bounties?

How can I find users with a specific number of earned or/and offered bounties?
αλεχολυτ's user avatar
-2 votes
1 answer
119 views

How can you view the most upvoted comments on your posts (answers and questions)?

Is there a way to view the most upvoted comments from any of my answers or questions on Stack Overflow? There are two similar questions/answers: Search for my most upvoted comments and Can I view a ...
stevec's user avatar
  • 1,235
1 vote
1 answer
142 views

Find posts deleted by authors, that deleted their own account later

How can we find posts deleted by their author that deleted their own account later?
αλεχολυτ's user avatar
10 votes
1 answer
145 views

Data Explorer throws server error when attempting to query Psychology & Neuroscience

The Stack Exchange Data Explorer lets you write SQL queries to find questions, answers, comments, users etc across the StackExchange network, but the query interface throws an error if I try to select ...
tripleee's user avatar
  • 13.3k
3 votes
0 answers
86 views

How can I find my OpenID identifier for logging in to SEDE?

In my previous post, all the login options at SEDE seem to be linked to the same URL which doesn't work. The last one I haven't tried is OpenID. But how can I find it?
Tim's user avatar
  • 1
3 votes
0 answers
66 views

Why isn't there any captcha asked when running a new query in SEDE?

When I tried to create a new query on https://data.stackexchange.com/stackoverflow/query/new, I didn't see any hint for me to work on CAPTCHA, so I just clicked Run Query, and the next page was https:/...
Tim's user avatar
  • 1
1 vote
0 answers
66 views

Login options in SEDE do not work

Clicking the login options such as Yahoo in https://data.stackexchange.com/account/login?returnurl=/account/login?returnurl=/account/login?returnurl=/stackoverflow/queries doesn't work. Hovering ...
Tim's user avatar
  • 1
4 votes
1 answer
58 views

What is the difference between DisplayName and Id on the Stack Exchange Data Explorer Users table?

I am trying to pull a list of all users who have commented on an answer and tie it back to their User profile, if one exists. However, not all Comments table records have a UserId associated with them ...
William Ledbetter's user avatar
34 votes
1 answer
259 views

The current SEDE refresh was delayed overnight

On Saturday, January 22nd, we had a failure on a backup share that won't be fully resolved until Monday. We've immediately re-routed backups to multiple secondary locations, so that concern has been ...
Aaron Bertrand's user avatar
  • 36.6k
5 votes
0 answers
60 views

Scrolling issues on data.stackexchange.com

I am encountering a couple of scrollbar issues viewing the results table on data.stackexchange.com. I am using OS X 10.14.6 using both Firefox 108.0.2 and Chrome 108.0.5359.98: This happens only in ...
But those new buttons though..'s user avatar
6 votes
1 answer
94 views

SEDE does something weird with URL parameters

Can somebody explain what happens in this SEDE query? It's a very simple one, apart from the use of a parameter: PRINT ('%href="##url##"%') but somehow SEDE decides to append part of its ...
Glorfindel's user avatar
  • 247k
6 votes
0 answers
88 views

What's the Data Explorer query to get the latest data that Stack Overflow Trends shows?

Stack Overflow Trends shows the percentage of questions with a certain tag. Here's an example for Java IDEs. On Jan 7, 2023, this link produces this graph: So VS Code is at 0.8%, and IntelliJ is ...
Karsten Silz's user avatar
6 votes
1 answer
87 views

How can I find unaccepted answers using the SEDE?

While researching my question, "Are there any questions for which multiple answers have received enlightened badges?", I've created a query that searches for questions with multiple accepted ...
SQB's user avatar
  • 4,656
7 votes
0 answers
73 views

The magic column [tagname] should handle number columns results gracefully

The magic column [tagname] will decorate and auto link tag names when used in a query. This feature relies on the JavaScript processing in the browser. The client-side script assumes it will always ...
rene's user avatar
  • 85.7k
1 vote
1 answer
93 views

SEDE query to find progress on Four Ayes hat?

I've been working on a query to count the number of days a user's posts have had votes up, with no votes down on any day. But it seems like it's missing some posts. Users that have Four Ayes, do not ...
James Risner's user avatar
  • 1,221
6 votes
1 answer
94 views

Finding closed questions from new contributors that others believe may be now reopenable

This query is fast, showing about 150 results right now: WITH Closed_New_Contributors (PID, UID, Created) AS ( SELECT p.id AS PID, u.id AS UID, u.CreationDate as Created FROM Posts p INNER ...
James Risner's user avatar
  • 1,221
7 votes
1 answer
89 views

Is there a way (e.g. with SEDE) to find questions with an existing tag that's been synonymized (but not merged) into another tag?

Say Tag 1 has been added as a synonym of Tag 2, so that new questions attempting to use Tag 1 will be automatically pointed to Tag 2. However, the two tags haven't been merged (yet). Then, if you ...
V2Blast's user avatar
  • 6,042
4 votes
1 answer
45 views

How do I extract posts from Data.SE that contain code in them?

I'd like to extract posts from Stack Overflow using Data.SE, that contain code in them. I am mainly interested in the posts that come from the tag [artificial-intelligence]. Here is the code that I ...
desert_ranger's user avatar
8 votes
0 answers
102 views

Drop Posts.FavoriteCount from SEDE

Related: What happened to FavoriteCount? - my educated guess is that a NULL value indicates a question has never been favorited or bookmarked, and 0 that it was. Since the values are so different from ...
Glorfindel's user avatar
  • 247k
2 votes
1 answer
89 views

Can someone make a query of number of questions, answers and average upvotes on answers on Earth Science Stack Exchange since its beginning?

Earth Science Stack Exchange is no longer a beta site, but this stats show it is not a healthy site. My perception is there are a lot of inactive users that started to publish content in the ...
user avatar
9 votes
1 answer
114 views

What does the error message "unknown job being polled!" mean on SEDE?

Error message seen on the first attempt to run this query anonymously: unknown job being polled! Screenshot: The second attempt to run the query was successful.
Franck Dernoncourt's user avatar
6 votes
1 answer
67 views

What basic logic decides what does or doesn't get included in SEDE?

What basic logic decides what information does or doesn't get included in SEDE? And what are the nuances for when certain things might not follow that basic logic? I'm looking to get a kind of ...
starball's user avatar
  • 18.2k
10 votes
1 answer
84 views

Is it possible to use cached results of an already-run query in another query?

The results of queries are cached until the next refresh: 1, 2. Is it possible to refer to those cached results in other queries? I imagine if there is, it might look something like this: SELECT * ...
starball's user avatar
  • 18.2k
8 votes
0 answers
122 views

SEDE refresh triggered multiple times today

As we all know, SEDE is refreshed every Sunday morning, but immediately after it finished (Stack Overflow is the last site, always somewhere before noon UTC), it seems to have triggered a new refresh ...
Glorfindel's user avatar
  • 247k

1
2 3 4 5
31