Where can I get the tag info data?
Is it available in the Stack Overflow data dump? (I've only been able to find the tags and their counts so far.)
Meta Stack Exchange is a question and answer site for meta-discussion of the Stack Exchange family of Q&A websites. It only takes a minute to sign up.Sign up to join this community
All that is in the
Posts table. You can get the relevant row ids from the
Tags table. For example:
You can do joins or direct lookups from there, depending on what you want.
Whoops, you said "data dump" and my late-night brain read "data explorer". Still, the principle is the same.
Tags.xml file contains information about the tags that includes the Name and the ids of the wiki and the wiki excerpt posts. You can then look up those ids in
Posts.xml to get the actual content.
For most sites, the data dump is just in one file. Stack Overflow is too big for that, so it's split over multiple files. You will need both
stackoverflow.com-Posts.7z to get what you need.
(But really, unless you need offline access, I'd just run SQL queries against the data explorer instead. It's more up to date than the data dump, too.)