Introduction
While GitHub is primarily recognized as the premier platform for open-source code, a recent study by researchers at Microsoft and GitHub suggests it has evolved into one of the world's largest, albeit accidental, open data repositories. The paper, "Open Data on GitHub: Unlocking the Potential of AI," provides a comprehensive census of this ecosystem, identifying over 800 million data files totaling 142 terabytes. As AI development becomes increasingly bottlenecked by the availability of high-quality training data, understanding the scale and nature of GitHub's data assets is critical for the research community.
Methodology
To quantify this landscape, researchers utilized internal access to GitHub’s data backend, analyzing public, non-forked repository metadata from 2008 through March 2023. A significant technical hurdle involved distinguishing actual data assets from code-related metadata (e.g., distinguishing a medical record JSON from a package.json configuration file).
The team employed a multi-stage filtering process:
- Extension-Based Targeting: Focus was placed on structured formats such as
csv,json,parquet,geojson, and scientific formats likepdb(chemistry) andfasta(genomics). - Heuristic Exclusion: Hundreds of common non-data filenames (e.g.,
tsconfig.json) were manually identified and removed. - Noise Reduction: Accounts exhibiting bot-like behavior—specifically those uploading high volumes of small, repetitive JSON files—were excluded to ensure the census reflected human-curated data.
The Exponential Growth of Open Data
The study reveals that the volume of data on GitHub is experiencing exponential growth. Approximately 81% of all identified data files were added within the last four years, with 57% added in the last two years alone. This trend suggests that developers are increasingly adopting GitHub as a primary "bucket" for data storage alongside their codebases.
Key Findings and the "Licensing Gap"
GitHub's data landscape is dominated by JSON and CSV formats, which together account for 81% (652 million) of all files. Beyond general data, the largest specialized niche is Geospatial data, comprising over 47.5 million files (GeoJSON, SHP, KML), followed by Acoustic (wav) and Chemistry (pdb) data.
However, the researchers identified a significant barrier to AI progress: the "licensing gap." A staggering 75.9% of data files reside in repositories with no detected license. This lack of legal clarity prevents AI researchers from ethically or legally utilizing these assets for model training, representing a massive missed opportunity for the open-source community.
Conclusion and Future Directions
GitHub currently hosts over 802 million structured, machine-readable data files across 11.3 million public repositories. While the scale is staggering—dwarfing dedicated platforms like Figshare—limitations remain. The current study excluded .txt files and compressed formats (e.g., .csv.gz) due to classification difficulties, likely undercounting the true volume of data.
Future work will focus on content-based classification. By using machine learning to inspect the internal structure of files, researchers hope to distinguish data from text and code more accurately, eventually unlocking currently "hidden" datasets in unstructured formats.
Summary updated