← all organisations

nhsbsa-data-analytics / Code

11 languages, 72.9 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

11
languages in use
72.9 MB of source
3.4k
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
646.2 MB
largest repository
dig-data-step-up

What stands out

One archived repository holds 68% of all the bytes.

dig-data-step-up is 646.2 MB of git - a 2013 static snapshot of www.gov.uk, not source code. It single-handedly makes HTML the largest language by volume (90% 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.

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

HTMLHTML: 65.8 MB65.8 MBRR: 3.3 MB3.3 MBJupyter NotebookJupyter Notebook: 2.6 MB2.6 MBJavaScriptJavaScript: 654.6 kB654.6 kBCSSCSS: 334.2 kB334.2 kBPLSQLPLSQL: 53.3 kB53.3 kBLuaLua: 44.9 kB44.9 kBSCSSSCSS: 10.9 kB10.9 kBShellShell: 4.8 kB4.8 kBVBAVBA: 3.3 kB3.3 kBRezRez: 2.1 kB2.1 kB

By number of repositories

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

RR: 3232CSSCSS: 2121HTMLHTML: 1010JavaScriptJavaScript: 88LuaLua: 55ShellShell: 22Jupyter NotebookJupyter Notebook: 22RezRez: 11VBAVBA: 11SCSSSCSS: 11PLSQLPLSQL: 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

RR: 2222HTMLHTML: 77LuaLua: 44ShellShell: 11VBAVBA: 11Jupyter NotebookJupyter Notebook: 11

Archived repositories

RR: 22HTMLHTML: 00LuaLua: 00ShellShell: 00VBAVBA: 00Jupyter NotebookJupyter Notebook: 00

Scale

Repository size distribution

Git data per repository, log-ish buckets.

118.25.52.80< 10 kB: 1< 10 kB< 100 kB: 11< 100 kB< 1 MB: 11< 1 MB< 10 MB: 11< 10 MB< 100 MB: 4< 100 MB100 MB +: 2100 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.

1.1k277.272.719.15.029.847.8233.81.1k.github: 21 commits, 24 files, 2 authorsNHS-Dental-Statistics-for-England: 55 commits, 126 files, 5 authorsNHSRplotthedots: 434 commits, 85 files, 23 authorsOpen-Data-Portal: 19 commits, 7 files, 5 authorsaddressMatchR: 145 commits, 32 files, 20 authorscare-home-prescribing-2020-2023: 1,057 commits, 182 files, 9 authorscareHomePrescribingScrollytellR: 793 commits, 102 files, 14 authorscoffee-and-coding: 677 commits, 413 files, 52 authorsdental-provider-assurance-letter-automation: 15 commits, 7 files, 4 authorsdevpacker: 81 commits, 26 files, 4 authorsdig-data-step-up: 37 commits, 30 files, 2 authorsgphs-annual-rap: 43 commits, 26 files, 2 authorshackathon-time-series-nov-2021: 42 commits, 1,143 files, 6 authorshelp-with-health-costs: 47 commits, 76 files, 5 authorshrtR: 59 commits, 101 files, 3 authorsint644genderpaygap: 147 commits, 139 files, 4 authorsliquid-paracetamol-prescribing-care-homes: 6 commits, 2 files, 2 authorslondon-oral-surgery-mapping: 11 commits, 28 files, 2 authorslowIncomeSchemeScrollytellR: 331 commits, 90 files, 8 authorsmumh-quarterly-rap: 118 commits, 12 files, 7 authorsmumhquarterly: 139 commits, 51 files, 7 authorsnhs-jobs-insight-piece: 9 commits, 23 files, 2 authorsnhsbsa-analytical-code-assurance-playbook: 173 commits, 31 files, 11 authorsnhsbsa-data-science-playbook: 238 commits, 75 files, 13 authorsnhsbsa-quality-analysis-playbook: 70 commits, 45 files, 8 authorsnhsbsaR: 159 commits, 43 files, 24 authorsnhsbsaShinyR: 204 commits, 122 files, 21 authorsopen-data-portal-api: 21 commits, 7 files, 8 authorsopen-data-portal-dashboard: 17 commits, 18 files, 4 authorsopen-data-standards: 8 commits, 4 files, 2 authorspchc-pipeline: 38 commits, 13 files, 4 authorspchcR: 35 commits, 50 files, 4 authorspersonMatchR: 203 commits, 107 files, 10 authorsprescription-cost-analysis: 101 commits, 27 files, 6 authorsprojecthooks: 34 commits, 64 files, 3 authorsquadr: 5 commits, 10 files, 2 authorsquarto-website-template: 8 commits, 33 files, 2 authorsshinyusertracking: 27 commits, 19 files, 4 authorstidyfilter: 45 commits, 25 files, 3 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

RR: 1919manman: 1717teststests: 1010instinst: 99wwwwww: 77functionsfunctions: 55data-rawdata-raw: 55devdev: 55outputsoutputs: 44vignettesvignettes: 44datadata: 44_extensions_extensions: 44staticstatic: 44sqlsql: 33guidanceguidance: 33docsdocs: 22repo_filesrepo_files: 11gitleaksgitleaks: 11

Most common file extensions

By total file count across the estate.

.r.r: 707707.png.png: 673673.rd.rd: 240240.js.js: 211211.css.css: 170170.ttf.ttf: 138138.md.md: 127127.sql.sql: 125125.svg.svg: 104104.rmd.rmd: 6969.qmd.qmd: 6868.jpg.jpg: 5757.html.html: 4040.csv.csv: 3737.rda.rda: 3535.yml.yml: 3333

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
dig-data-step-upHTML646.2 MB3730active
coffee-and-codingHTML146.3 MB677413active
nhsbsa-data-science-playbookLua44.3 MB23875active
nhsbsa-quality-analysis-playbookLua42.7 MB7045active
hackathon-time-series-nov-2021HTML12.9 MB421,143active
open-data-portal-dashboardR10.8 MB1718active
london-oral-surgery-mappingR6.9 MB1128active
nhs-jobs-insight-pieceHTML6.1 MB923active
personMatchRR5.2 MB203107active
careHomePrescribingScrollytellRHTML5.1 MB793102active
liquid-paracetamol-prescribing-care-homesHTML4.3 MB62active
nhsbsa-analytical-code-assurance-playbookLua3.7 MB17331active
projecthooksR2.4 MB3464active
quarto-website-templateLua1.3 MB833active
NHSRplotthedotsR1.3 MB43485active
gphs-annual-rapR1.3 MB4326active
care-home-prescribing-2020-2023R1.1 MB1,057182active
lowIncomeSchemeScrollytellRR823.3 kB33190active
nhsbsaShinyRR607.2 kB204122active
int644genderpaygapR561.2 kB147139active