← all organisations

ONS-OpenData / Code

10 languages, 2.3 MB of source, and what the live estate is written in today.

Language figures come from GitHub's own per-repository byte counts, which measure source rather than a single headline label. File counts and repository sizes come from the mirrors themselves. The two tell different stories, and the difference is the point.

The codebase

10
languages in use
2.3 MB of source
756
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
52.5 MB
largest repository
cmd-migration-401

What stands out

One archived repository holds 37% of all the bytes.

cmd-migration-401 is 52.5 MB of git - a 2013 static snapshot of www.gov.uk, not source code. It single-handedly makes HTML the largest language by volume (5% of all source bytes). Any size or language statistic that does not exclude it is measuring an archive, not a codebase.

Sizes here are GitHub's reported figures.

This organisation was harvested with blobless partial clones, which fetch every commit and file path but not file contents, so there is no local size to measure against. Checked elsewhere in this dataset against 1,526 fully mirrored repositories, GitHub's reported size is accurate to within about six percent.

Ruby is the house language, but its share is falling.

Ruby is the primary language of 0% of archived repositories but only 0% of live ones. Python, Go, TypeScript and HCL have taken the difference - the signature of a shift from monolithic Rails publishing apps toward data pipelines, infrastructure-as-code and platform tooling.

Most repositories are small; a handful are enormous.

83% of repositories are under a megabyte of git data. The estate is not a monolith - it is a very long tail of small services, gems and prototypes around a few large publishing applications.

Languages, two ways

By volume of source

Bytes of code. Dominated by archived static HTML.

PythonPython: 1.1 MB1.1 MBJupyter NotebookJupyter Notebook: 941.7 kB941.7 kBHTMLHTML: 111.1 kB111.1 kBJavaScriptJavaScript: 100.1 kB100.1 kBCSSCSS: 18.9 kB18.9 kBGherkinGherkin: 11.7 kB11.7 kBBatchfileBatchfile: 7.0 kB7.0 kBMakefileMakefile: 2.1 kB2.1 kBShellShell: 1.7 kB1.7 kBDockerfileDockerfile: 423 B423 B

By number of repositories

How many repositories name each language as their primary one. A better guide to what engineers actually work in.

PythonPython: 2626Jupyter NotebookJupyter Notebook: 2525BatchfileBatchfile: 88ShellShell: 33MakefileMakefile: 22HTMLHTML: 11JavaScriptJavaScript: 11CSSCSS: 11GherkinGherkin: 11DockerfileDockerfile: 11

Live estate versus archive

The same language ranking, split by whether the repository is still active. The shift is the clearest signal of technical direction in the whole dataset.

Active repositories

PythonPython: 2323Jupyter NotebookJupyter Notebook: 2222BatchfileBatchfile: 11HTMLHTML: 11

Archived repositories

PythonPython: 00Jupyter NotebookJupyter Notebook: 00BatchfileBatchfile: 00HTMLHTML: 00

Scale

Repository size distribution

Git data per repository, log-ish buckets.

1712.88.54.20< 10 kB: 11< 10 kB< 100 kB: 17< 100 kB< 1 MB: 12< 1 MB< 10 MB: 3< 10 MB< 100 MB: 5< 100 MB100 MB +: 0100 MB +

Commits against files

Each circle is a repository, sized by number of distinct authors. Both axes are logarithmic. The diagonal band is the normal relationship between codebase size and churn; outliers above it are long-lived apps with heavy iteration, below it are dumps and imports.

221.085.733.212.95.027.125.490.4322.0Databaker_Walkthrough_1: 10 commits, 27 files, 2 authorsSquad-Tutorials: 11 commits, 12 files, 1 authorsWDAtoV3builder: 17 commits, 2 files, 2 authorsbau_ASHE: 25 commits, 10 files, 1 authorsbau_FDI-Assets: 31 commits, 20 files, 2 authorsbau_ILCH: 20 commits, 9 files, 1 authorsbau_MQ5: 5 commits, 10 files, 1 authorsbau_NEWO: 5 commits, 18 files, 1 authorsbau_OCI: 27 commits, 30 files, 2 authorscensus-transforms: 5 commits, 12 files, 1 authorscmd-api-pipeline: 17 commits, 3 files, 3 authorscmd-ashe: 29 commits, 2 files, 3 authorscmd-automation-test: 12 commits, 5 files, 2 authorscmd-buis-invest-capital-formation: 5 commits, 3 files, 3 authorscmd-business-investment-gfcf-industry-asset: 13 commits, 7 files, 3 authorscmd-crime-with-home-office: 24 commits, 8 files, 2 authorscmd-databaker-env-install: 11 commits, 2 files, 1 authorscmd-databaker-utils: 123 commits, 11 files, 4 authorscmd-faster-indicators-shipping-data: 18 commits, 3 files, 2 authorscmd-mid-year-pop-est: 5 commits, 2 files, 3 authorscmd-migration-401: 24 commits, 9 files, 2 authorscmd-national-population-projections: 15 commits, 13 files, 2 authorscmd-online-job-adverts: 23 commits, 3 files, 2 authorscmd-sdmx-to-v4: 21 commits, 5 files, 2 authorscmd-traffic-camera-activity: 7 commits, 3 files, 2 authorscmd-transforms: 221 commits, 59 files, 2 authorscmd-v4-hierarchy-parent-injector: 11 commits, 7 files, 2 authorscmd-weekly-deaths: 36 commits, 7 files, 2 authorscmd-wellbeing: 13 commits, 2 files, 3 authorscompare_and_checkfile: 10 commits, 3 files, 2 authorsdata-dictionary: 5 commits, 3 files, 1 authorsdatabaker_docs: 90 commits, 322 files, 2 authorsdatabaker_example_travelTrends1: 8 commits, 5 files, 1 authorsdatabaker_notebooks: 5 commits, 3 files, 1 authorsdp-opendata-upload: 176 commits, 83 files, 4 authorsfiles at HEAD (log)commits (log)

The shape of a repository

Directory layout is the cheapest reliable signal of what a repository actually is. app/ with config/ and spec/ is a Rails application; src/ with test/ is Java or Node. Counted by how many repositories contain each top-level directory at HEAD.

Most common top-level directories

Check FilesCheck Files: 44imagesimages: 33small popssmall pops: 11outputsoutputs: 11databakerUtilsdatabakerUtils: 11.idea.idea: 11SDMXtoV4SDMXtoV4: 11asheashe: 11modulesmodules: 11constructionconstruction: 11cpihcpih: 11house-priceshouse-prices: 11index-private-housing-rental-pricesindex-private-housing-rental-prices: 11labour-market-cdidlabour-market-cdid: 11lmslms: 11online-jobsonline-jobs: 11regional-gdpregional-gdp: 11shipping-datashipping-data: 11

Most common file extensions

By total file count across the estate.

.py.py: 149149.png.png: 117117.txt.txt: 9898.md.md: 5757.ipynb.ipynb: 3939.json.json: 2828.html.html: 2828.js.js: 2727.csv.csv: 2525.doctree.doctree: 2424.chk.chk: 1616.eot.eot: 1414.ttf.ttf: 1414.woff.woff: 1414.woff2.woff2: 1414.css.css: 1212

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
cmd-migration-401Jupyter Notebook52.5 MB249active
databaker_docsHTML22.9 MB90322active
cmd-national-population-projectionsJupyter Notebook21.4 MB1513active
cmd-weekly-deathsPython14.8 MB367active
cmd-ashe-11.6 MB292active
cmd-crime-with-home-officeJupyter Notebook6.9 MB248active
dp-opendata-uploadPython3.5 MB17683active
cmd-death-related-drugsJupyter Notebook1.2 MB23active
cmd-business-investment-gfcf-industry-assetJupyter Notebook842.8 kB137active
Databaker_Walkthrough_1Jupyter Notebook571.4 kB1027active
cmd-buis-invest-capital-formationJupyter Notebook551.9 kB53active
cmd-uk-businessJupyter Notebook551.9 kB23active
cmd-wellbeing-initialJupyter Notebook550.9 kB34active
databaker_example_travelTrends1Jupyter Notebook468.0 kB85active
cmd-transformsPython329.7 kB22159active
bau_FDI-AssetsPython302.1 kB3120active
bau_OCIPython191.5 kB2730active
cmd-databaker-utilsPython174.1 kB12311active
cmd-wellbeingJupyter Notebook122.9 kB132active
cmd-v4-hierarchy-parent-injectorPython109.6 kB117active