Every History bachelor’s programme in the United States reports the same median earnings figure. All 1,276 of them. If your analysis ranks schools on that column, it is ranking a number they merely share.
The Department of Education’s College Scorecard field-of-study file is one row per institution × programme × credential level, 230 columns wide. The earnings columns that look most useful are EARN_MDN_1YR_NAT, EARN_MDN_5YR_NAT and EARN_MDN_7YR_NAT: filled in for 77% of rows, and sitting right next to the institution name.
They are not per-institution figures. Count the distinct values within a single field:
| field, bachelor’s | programmes | distinct earnings values |
|---|---|---|
| Business Administration | 7,479 | 20 |
| Computer Science | 2,556 | 10 |
| Registered Nursing | 4,650 | 23 |
| History | 1,276 | 1 |
An analysis built on that column produces a ranking that looks entirely reasonable and is mostly an artefact. Nothing in the file warns you, and the column name does not either — NAT marks the earnings source, not an average.
from collections import defaultdict
vals = defaultdict(set)
for row in rows: # one row per programme
vals[(row["CIPCODE"], row["CREDLEV"])].add(row[COLUMN])
# if len(v) is 1 for whole fields, the column is pooled
Run it against any column before you rank anything with it. The genuinely per-institution column in this file is EARN_MDN_4YR: 85–92% of its values are unique within a field, which is what a real per-school figure looks like. The price is coverage — 24.9% of rows instead of 77%.
That trade is the whole decision. A quarter of the data that means what it says beats three quarters that does not.
Not “which degree pays most” — that list is everywhere and mostly says medicine and engineering. The question this data can answer, and almost nobody asks, is how much the institution matters for a given subject.
For each field, the 10th and 90th percentile of four-year earnings across the institutions offering it:
| field, bachelor’s | 10th percentile | 90th percentile | spread |
|---|---|---|---|
| Philosophy | $34,925 | $71,409 | 2.04× |
| Registered Nursing | $49,309 | $95,918 | 1.95× |
| Computer Science | $62,276 | $120,729 | 1.94× |
| Architecture | $55,657 | $76,363 | 1.37× |
| Mechanical Engineering | $81,714 | $111,410 | 1.36× |
Where the spread is narrow the subject decides the outcome. Where it is wide the institution does. For a mechanical engineer the shortlist barely matters; for a philosopher it is most of the decision.
Of 223,587 programme rows, 55,624 (24.9%) publish a per-institution earnings figure and 36,413 (16.3%) publish both earnings and median debt. The rest are suppressed to protect small cohorts — and suppression hits the smallest programmes first, so everything above describes the larger programmes at the larger institutions. A field that looks thin may be thriving somewhere too small to report.
Whether the degree caused the earnings. Institutions admit different people in different places, and no column here separates teaching from selection. Nor what you personally would earn — these are medians, and half of each cohort earned less. Nor anything about cost of living: a $70,000 median in San Francisco and one in rural Ohio sit in the same column.
83 field-and-credential reports across associate’s, bachelor’s and master’s — the median, the spread, the debt-to-earnings ratio, and the highest and lowest reported programmes by name — plus both tools, so you can run it on the current release.
What a Degree Actually Pays — €39
The source file is free and public. The four-line check above is free too, and it is the part worth stealing.