There is a newer version of this record available.

Dataset Open Access

SOTorrent Dataset

Baltes, Sebastian; Dumani, Lorik

Stack Overflow (SO) is the most popular question-and-answer website for software developers, providing a large amount of code snippets and free-form text on a wide variety of topics. Like other software artifacts, questions and answers on SO evolve over time, for example when bugs in code snippets are fixed, code is updated to work with a more recent library version, or text surrounding a code snippet is edited for clarity. To be able to analyze how content on SO evolves, we built SOTorrent, an open dataset based on the official SO data dump. SOTorrent provides access to the version history of SO content at the level of whole posts and individual text or code blocks. It connects SO posts to other platforms by aggregating URLs from text blocks and comments, and by collecting references from GitHub files to SO posts. Our vision is that researchers will use SOTorrent to investigate and understand the evolution of SO posts and their relation to other platforms such as GitHub.

If you use this dataset in your work, please cite our MSR 2018 paper (BibTex).

The dataset is based on the official Stack Overflow data dump released 2018-06-05 (https://archive.org/details/stackexchange) and the Google BigQuery GitHub data set queried 2018-08-01 (https://cloud.google.com/bigquery/public-data/github). Please read the license files (LICENSE.md) before using the dataset.
Files (88.6 GB)
Name Size
1_create_database.sql
md5:2c884318d9344c6c4d5bb0815a0d7bd6
6.7 kB Download
2_load_so_from_xml.sql
md5:799f3fd4fde2522a8acfbf10874b2332
1.2 kB Download
3_create_indices.sql
md5:0ed7536b5ab713c5f77ae5699604c608
501 Bytes Download
4_create_sotorrent_tables.sql
md5:477bf186705ee787514dd84d224a6251
6.6 kB Download
5_create_sotorrent_user.sql
md5:3f1228feae388d0c8c35570f39ee6300
506 Bytes Download
6_load_sotorrent.sql
md5:f384f9d260aec3535183f71ea74a4b24
4.4 kB Download
7_load_postreferencegh.sql
md5:73693f9ef65547c799aed4d0d98ba474
489 Bytes Download
8_create_sotorrent_indices.sql
md5:cfb179350388e38133c83bbf802c1ce2
1.5 kB Download
Badges.xml.gz
md5:fdf30e1e366f1d150337c848f55b8492
289.1 MB Download
Comments.xml.gz
md5:686f3c9ec9d4dee3d19893a5ef96303d
5.6 GB Download
CommentUrl.csv.gz
md5:0598808a0872d9672d84fca495d20fbc
371.6 MB Download
LICENSE.md
md5:f02ef134b20bfe264755fb4338f47ccf
39.1 kB Download
PostBlockDiff.csv.gz
md5:eee064247994b351de9f45dea8db6e72
9.2 GB Download
PostBlockVersion.csv.gz
md5:ddaa03372c119e6b70a6a032e70fdf38
20.2 GB Download
PostHistory.xml.gz
md5:b541fff7b494ef8c56bad459b2bf9d5e
30.4 GB Download
PostLinks.xml.gz
md5:b5918b15a5f400217300d9d60b7425bd
94.3 MB Download
PostReferenceGH.csv.gz
md5:a0ca7e300495ca899aa3d17b083b4401
354.8 MB Download
Posts.xml.gz
md5:b8620f67212361096743fa6d65fb40ac
17.1 GB Download
PostVersion.csv.gz
md5:ba445e1138143f98e5662eaf5bd4fd24
978.9 MB Download
PostVersionUrl.csv.gz
md5:2b6999e596386c9b58daa3239f1ee362
1.3 GB Download
README.md
md5:b158c19ca687d1b81e51e608328eabd5
1.4 kB Download
Tags.xml.gz
md5:0f456720abf859ca4d9cdc5965d78685
1.0 MB Download
TitleVersion.csv.gz
md5:dbce201689a439d9bb95e72207553377
726.7 MB Download
Users.xml.gz
md5:c9a8969fbf4a7ea42e6c2135860f53de
567.5 MB Download
Votes.xml.gz
md5:c821ce150972429ef2d247d2e2df9d11
1.3 GB Download
1,181
4,695
views
downloads
All versions This version
Views 1,18150
Downloads 4,695307
Data volume 20.6 TB940.8 GB
Unique views 95336
Unique downloads 73823

Share

Cite as