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 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.

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-06-17 (https://cloud.google.com/bigquery/public-data/github). Please read the license files (LICENSE.md) before using the dataset.
Files (88.1 GB)
Name Size
1_create_database.sql
md5:b59cf771d072b15e2300bb4f10489006
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:65026c9313916c7a0e498fff0f1ff2d2
6.2 kB Download
5_create_sotorrent_user.sql
md5:3f1228feae388d0c8c35570f39ee6300
506 Bytes Download
6_load_sotorrent.sql
md5:280ca15ebcc519d1aeae11898cdb41db
4.1 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:f93735136bdf8d7e7a8d21529c92c595
278.5 MB Download
LICENSE.md
md5:c861638e5dcbc0426dec06a80f12ea86
38.4 kB Download
PostBlockDiff.csv.gz
md5:ca6390d27d90707b2bcf14aea15d6edb
9.2 GB Download
PostBlockVersion.csv.gz
md5:33e239e11d845e97e9066e16279b9a86
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:128559e2571bcbe470fe3180e6881022
352.0 MB Download
Posts.xml.gz
md5:b8620f67212361096743fa6d65fb40ac
17.1 GB Download
PostVersion.csv.gz
md5:7577238412ad9599f9f7a9b36339ee47
978.9 MB Download
PostVersionUrl.csv.gz
md5:28506dcd2f71aed959b0d6f7143096ab
912.9 MB Download
README.md
md5:79a84f618ec6456f0ae523c662d1ca39
1.4 kB Download
Tags.xml.gz
md5:0f456720abf859ca4d9cdc5965d78685
1.0 MB Download
TitleVersion.csv.gz
md5:00f8773b991961002127b3afd07f0363
726.7 MB Download
Users.xml.gz
md5:c9a8969fbf4a7ea42e6c2135860f53de
567.5 MB Download
Votes.xml.gz
md5:c821ce150972429ef2d247d2e2df9d11
1.3 GB Download
1,198
4,746
views
downloads
All versions This version
Views 1,198162
Downloads 4,746413
Data volume 20.8 TB1.3 TB
Unique views 967145
Unique downloads 75063

Share

Cite as