How to download all the data just for a specific tag (say [compiler-error])? On Stack Overflow, there are around 19000 questions tagged with [compiler-error]. So, I was hoping is it downloadable w.r.t specific tags only?
/questions method supports this; you can limit your search by tag. Be sure to add the right output fields via a filter; in the example below, I've added
answers.body which are not included by default.
Here is the call for the first 100 questions:
You'll need to increase the page number to get the rest and probably something to respect the backoff / rate-limiting. An application key is also a good idea.
Finally, these kind of dumps can also be obtained (perhaps more easily) via the Data Explorer. It has an awesome tutorial to help you get started (with the Data Explorer and with SQL in general).