2023-02-13
How to Find Most Viewed Questions With Given Tag on Stackoverflow?
You can use the Stack Exchange Data Explorer (SEDE) to find the most viewed questions with a given tag on Stack Overflow. Here are a few steps you can follow:
-
Go to https://data.stackexchange.com/stackoverflow/queries and select "Stack Overflow" as the site.
-
Select "Compose Query" and write a query to find the most viewed questions with a given tag. For example, if you want to find the most viewed questions with the "python" tag, you can use the following query:
SELECT TOP 1000
Id AS [Post Link],
ViewCount,
Score,
CreationDate,
Tags,
Title
FROM Posts
WHERE Tags LIKE '%<python>%'
ORDER BY ViewCount DESC
This query will return the top 1000 questions with the "python" tag, sorted by view count.
-
Click "Run Query" to execute the query and see the results.
-
You can export the results as a CSV file or other formats by clicking "Export" at the top of the query results.
NOTE: SEDE is updated only once a week, so the data may not be up-to-date with the latest changes on Stack Overflow.