Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I've successfully FOIAd web traffic stats from the State Department, but haven't tried others. There's no reason why you couldn't FOIA the server logs.
Here's a tip about using Github for datasets: the size limits for files and bandwidth limits are different for Github Pages, so if you keep the data on the gh-pages branch, you can store more there with fewer concerns about violating ToS.