Find occupations for an education program in Python
Look up the occupations related to a supply-chain program, using original CIP/SOC relationships and the program directory.
Find occupations related to a supply-chain program
You are reviewing a logistics or supply-chain curriculum and want to identify occupations whose knowledge and skills relate to it. The program is recorded as CIP 52.0203, Logistics, Materials, and Supply Chain Management. This crosswalk supplies the corresponding SOC occupation codes and titles, which you can then review against wage, outlook or skills data.
The optional input.csv contains that genuine program-code selection. The same selection appears in the Python list below. The program definition and occupational relationships are published government reference data; nothing in this example is a fictional student record or an invented mapping.
program_occupation.csv is a genuine subset of the paid main table, containing every published occupation relationship for this program. programs.csv contains the matching definition and coverage record from the paid program directory. Save both files in your working folder. The full $19 crosswalk contains 5,723 relationships across 1,948 programs and 687 occupations, plus directory and coverage tables.
Code example
This standard-library example runs in a notebook, IPython or a Python script. It reads the program directory, collects all relationships for each selected code, and prints the resulting occupations.
Paths are relative to your working folder; use from pathlib import Path; print(Path.cwd()) to check it, or supply full paths.
import csv
from collections import defaultdict
from pathlib import Path
# A real program selection, also supplied in input.csv on the guide page.
selections = [{"cip2020_code": "52.0203"}] # Logistics, Materials, and Supply Chain Management
data_dir = Path(".") # Folder containing the sample files or extracted purchased CSVs.
with (data_dir / "programs.csv").open(newline="", encoding="utf-8") as stream:
programs = {row["cip2020_code"]: row for row in csv.DictReader(stream)}
relationships = defaultdict(list)
with (data_dir / "program_occupation.csv").open(newline="", encoding="utf-8") as stream:
for row in csv.DictReader(stream):
relationships[row["cip2020_code"]].append(row)
results = []
for selection in selections:
code = selection["cip2020_code"]
program = programs.get(code)
if program is None:
raise ValueError(f"{code}: not found in these program files; check edition and sample scope")
print(f'{code} | {program["cip_title"]}')
for row in relationships[code]: # Keep every published relationship for the program.
result = {
"cip2020_code": code,
"program_title": program["cip_title"],
"soc2018_code": row["soc2018_code"],
"occupation_title": row["soc2018_title"],
"reverse_sheet_status": row["reverse_sheet_status"],
}
results.append(result)
print(f' {result["soc2018_code"]} | {result["occupation_title"]}')
if not relationships[code]:
print(f' Coverage: {program["crosswalk_status"]}')
Set data_dir to the folder holding both CSVs. Replace selections with other CIP codes from the full product, or read a cip2020_code column from your own CSV. Keep the identifiers as text, preserving their leading zeros and decimal points. The results list contains the printed relationships for further analysis.
Analysis of the output
52.0203 | Logistics, Materials, and Supply Chain Management.
11-3051 | Industrial Production Managers
11-3071 | Transportation, Storage, and Distribution Managers
13-1081 | Logisticians
25-1011 | Business Teachers, Postsecondary
The supply-chain program links to industrial production managers, transportation and distribution managers, logisticians, and postsecondary business teachers. These are distinct directions for further research. The SOC codes let you look up the occupations consistently instead of relying on name matching.
For example, you could take 13-1081 to an occupational wage table to research logisticians' employment and pay, or to an outlook table to inspect projected openings. Check that the destination file uses a compatible occupation code and choose the relevant area and source period. Occupational wages do not measure the earnings of graduates from this program.
The management and teaching relationships also show why award level and prerequisites matter. A link indicates relevant instructional content; it does not mean a graduate qualifies for every listed role. CIP codes do not distinguish associate, bachelor's and graduate awards. The mapping provides no placement probabilities or weights for dividing graduates among occupations.
Coverage and source differences
The main table keeps all multiple relationships. The program directory distinguishes publisher_no_match from not_listed_in_crosswalk, and keeps aggregate, historical and reserved entries identifiable. If a code produces no relationships, review its coverage and publisher action before deciding whether to change your analysis. An absent code in this small sample only means it was not selected for the example.
The full release also records four links for Environmental/Natural Resource Economics that appear in the publisher's main worksheet but not its reverse worksheet. They remain in this crosswalk with an explicit disagreement flag. Two program titles differ between the crosswalk and the separately maintained directory; both original labels remain. The preparation record lists these differences.
Using the full dataset
Extract the purchased ZIP and point data_dir to its CSVs. program_occupation.csv has one row per cip2020_code + soc2018_code. You can search it in either direction. Preserve all matches; do not select an arbitrary first row or add overlapping occupation totals across programs.
programs.csv contains all 2,848 original directory entries, including 2,325 detailed codes and their parent groups and families. These are not all active detailed programs: source transition actions and coverage are explicit. occupations.csv accounts for all 867 non-placeholder SOC codes represented in the workbook, including the 180 marked unmatched. Source worksheet descriptions, a complete row audit, field dictionaries, provenance and checksums accompany the files.
Use the education and careers selection page to choose companion wage, outlook or skills products. Those are separate purchases with different source periods and populations. O*NET has more detailed occupation titles and its own official SOC bridge; BLS sometimes uses combined occupation codes. The crosswalk supplies no graduate counts, institutions, job placements or local forecasts.
Sources and versions
The NCES/BLS crosswalk connects CIP 2020 with SOC 2018. The NCES resource page supplies the crosswalk and program directory; the March 2020 guidance explains their interpretation. ACD retained the workbook and separately maintained directory on November 1, 2026 UTC. The years identify classification editions, not a period of observed employment or graduate outcomes.
ACD reconciles the worksheets, separates placeholders, decodes text-formatted codes, documents coverage and label differences, and preserves original relationships and row references. An independent parser checks every prepared table against the original files. The retained source, staging, preparation and customer publication have separate identities so the same source can be reprocessed.
Original source downloads are free. The $19 purchase covers this prepared and documented edition. Processing improvements and documented publisher error corrections to the purchased scope are included; new source editions may be sold separately.
Example checked November 1, 2026 against both these samples and the complete purchased files. Source and processing records, sample checksums · Expected result CSV. Independent preparation; no agency endorsement.