BEA Industry to Marxian Department Mapping
Complete reference for the mapping from BEA Summary-level industry codes to
the four Marxian departments. This mapping is loaded by
DefaultDepartmentAggregator.get_default_mapping() from the TOML file
src/babylon/economics/tensor_hierarchy/mappings/bea_to_department.toml.
For the theoretical rationale behind the departments, see Tensor Hierarchy Architecture. For the aggregation algorithm, see Input-Output Economics and the Leontief Inverse.
The Four Departments (Brief)
Code |
Name |
Description |
|---|---|---|
|
Means of Production |
Capital goods consumed productively. Mining, manufacturing (producer goods), construction, utilities, transport, finance, professional services, government. |
|
Necessary Consumption |
Wage goods required to reproduce labor power. Food, textiles, basic retail, basic lodging. |
|
Luxury Consumption |
Discretionary goods consumed by bourgeoisie and labor aristocracy. Consumer electronics, furniture, gambling, luxury retail. |
|
Social Reproduction |
Sectors producing labor power itself. Health care, education, social services, private households, religious organizations. |
Theoretical sources: Marx (1885), Shaikh & Tonak (1994), Fortunati (1981). See Tensor Hierarchy Architecture for full discussion of contested boundaries.
Department I: Means of Production
BEA Code |
Industry Name |
Classification Note |
|---|---|---|
|
Farms |
Agricultural machinery, seeds, fertilizer are means of production. |
|
Forestry, fishing, and related activities |
Raw material extraction; industrial inputs. |
|
Oil and gas extraction |
Energy inputs consumed productively. |
|
Mining (except oil and gas) |
Mineral extraction; producer goods. |
|
Support activities for mining |
Producer services enabling extraction. |
|
Utilities |
Energy infrastructure; consumed by capital. |
|
Construction |
Fixed capital formation. |
|
Wood products |
Industrial wood inputs. |
|
Wood products (structural) |
Overlap code for structural applications. |
|
Petroleum and coal products |
Industrial energy and chemical feedstocks. |
|
Chemical products (industrial) |
Industrial chemicals; producer goods dominant. |
|
Plastics and rubber products |
Industrial inputs for manufacturing. |
|
Nonmetallic mineral products |
Cement, glass, ceramics; construction inputs. |
|
Primary metals |
Steel, aluminum; capital goods input. |
|
Fabricated metal products |
Industrial hardware, structural metal. |
|
Machinery |
Capital equipment; core Dept I sector. |
|
Computer and electronic products |
Producer computing; semiconductors, servers. |
|
Electrical equipment and appliances |
Industrial electrical equipment. |
|
Motor vehicles, bodies, trailers, parts |
Commercial vehicles dominant (boundary case; see note below). |
|
Other transportation equipment |
Aircraft, ships, railroad equipment; capital goods. |
|
Miscellaneous manufacturing |
Instruments, industrial goods. |
|
Wholesale trade |
Distribution infrastructure enabling capital circulation. |
|
Air transportation |
Producer logistics. |
|
Rail transportation |
Freight rail; capital circulation. |
|
Water transportation |
Bulk freight; capital circulation. |
|
Truck transportation |
Primary domestic freight mode. |
|
Transit and ground passenger transportation |
Worker transport; enables labor reproduction at scale. |
|
Pipeline transportation |
Energy infrastructure. |
|
Other transportation and support activities |
Port handling, air traffic control. |
|
Warehousing and storage |
Capital circulation infrastructure. |
|
Publishing industries (except internet) |
Producer information goods. |
|
Motion picture and sound recording |
Boundary case; placed in I as ideological capital production. |
|
Broadcasting and telecommunications |
Communication infrastructure; producer services. |
|
Data processing, internet publishing |
Digital infrastructure; producer computing. |
|
Federal Reserve banks, credit intermediation |
Financial capital circulation. |
|
Securities, commodity contracts |
Financial capital. |
|
Insurance carriers |
Risk-pooling for capital. |
|
Funds, trusts, and other financial vehicles |
Wealth management; financial capital. |
|
Rental and leasing services |
Capital asset services. |
|
Housing (owner-occupied residential) |
Treated as capital (BEA imputed rental); see boundary note below. |
|
Legal services |
Producer legal services. |
|
Accounting, tax preparation, bookkeeping |
Producer financial services. |
|
Architectural, engineering, and related services |
Capital project services. |
|
Specialized design services |
Producer design. |
|
Computer systems design and related services |
IT services for capital. |
|
Management, scientific, and technical consulting |
Producer consulting. |
|
Scientific research and development |
Innovation; creates future means of production. |
|
Advertising and related services |
Realization function for capital. |
|
Other professional, scientific, and technical services |
Producer services. |
|
Management of companies and enterprises |
Coordination of capital. |
|
Administrative and support services |
Business services. |
|
Waste management and remediation |
Industrial waste handling. |
|
Repair and maintenance |
Capital goods maintenance. |
|
Federal government enterprises |
State-owned productive capital (postal, Amtrak). |
|
Federal general government |
State coercive apparatus; enables capital accumulation. |
|
State and local general government |
Local coercive apparatus; infrastructure. |
Department IIa: Necessary Consumption
Wage goods required to reproduce labor power—the minimum consumption bundle the proletariat requires to continue working.
BEA Code |
Industry Name |
Classification Note |
|---|---|---|
|
Food and beverage and tobacco products |
Core wage goods; worker caloric reproduction. |
|
Textile mills and textile product mills |
Basic clothing; worker reproduction. |
|
Apparel and leather and allied products |
Basic clothing manufacturing. |
|
Retail trade |
General retail; food and basic goods dominant. See boundary note. |
|
Traveler accommodation (basic lodging) |
Budget hotels, motels; worker accommodation. |
|
Food services and drinking places |
Basic food consumption; worker reproduction. |
Department IIb: Luxury Consumption
Discretionary goods consumed by bourgeoisie and labor aristocracy. These sectors absorb surplus value without expanding the productive capacity of the economy.
BEA Code |
Industry Name |
Classification Note |
|---|---|---|
|
Computer and electronic products (consumer) |
Consumer electronics, smartphones; discretionary. |
|
Motor vehicles (consumer autos) |
Consumer automobile aspect; boundary with Dept I (see note). |
|
Furniture and related products |
Discretionary household goods. |
|
Miscellaneous manufacturing (consumer) |
Consumer novelties, jewelry, toys. |
|
Clothing stores |
Fashion retail; discretionary apparel. |
|
Department stores |
General merchandise; upper-consumption bracket. |
|
Other general merchandise stores |
Club stores; mixed but luxury-adjacent. |
|
Miscellaneous store retailers |
Sporting goods, hobby, specialty retail. |
|
Amusements, gambling, and recreation |
Pure surplus value consumption. |
|
Hotels and motels (luxury travel) |
Luxury lodging; bourgeois consumption. |
|
RV parks, recreational camps, rooming/boarding |
Discretionary recreation. |
|
Dry cleaning and laundry |
Bourgeois household services. |
|
Arts, entertainment, recreation (consumer) |
Cultural consumption; surplus value sink. |
Boundary Cases and Notes
Motor vehicles (3360A0 in Dept I; 336 in Dept IIb): Two BEA codes
appear in different departments. Code 3360A0 (manufacturing) is placed
in Department I because the industry produces both commercial vehicles and
consumer automobiles—and commercial use dominates by output value and
productive function. Code 336 (retail auto sales) is in Department IIb.
Retail trade (4400 in Dept IIa) vs. specialty retail (4481, 4521, 4529, 4530 in Dept IIb): General retail (BEA 4400) includes food retail, which makes it primarily a wage-goods distributor. Luxury and discretionary specialty retailers are separated into IIb with more specific codes.
Owner-occupied housing (FIRE0 in Dept I): The BEA treats imputed owner-occupied rental income as capital output. Following Shaikh & Tonak, housing is classified as capital (Dept I) rather than consumption. This is a contested boundary: housing is simultaneously a consumption good and a capital asset. The productive capital interpretation is the default.
Future refinement: The MVP mapping uses dominant-use classification (one industry → one department). A more precise approach would use the BEA commodity-by-industry bridge tables to fractionally allocate mixed industries by output shares. This is noted in the TOML metadata but not yet implemented.
How to Update the Mapping
The mapping is defined in:
src/babylon/economics/tensor_hierarchy/mappings/bea_to_department.toml
TOML structure:
[departments]
I = ["1100A1", "1130A1", ...] # List of BEA codes for Dept I
IIA = ["311FT", "313TT", ...] # List for Dept IIa
IIB = ["334", "336", ...] # List for Dept IIb
III = ["621", "622", ...] # List for Dept III
[metadata]
version = "1.0.0"
date = "2026-02-26"
bea_classification = "2007 NAICS-based BEA Summary level"
reference = "..."
notes = "..."
To add or move an industry:
Find the BEA Summary code in the BEA I-O Use table column headers.
Remove it from its current department list (if present).
Add it to the correct department list.
Add a note in
[metadata].notesexplaining the rationale.Re-run tests:
poetry run pytest tests/unit/economics/tensor_hierarchy/.
How DefaultDepartmentAggregator reads it:
aggregator = DefaultDepartmentAggregator()
mapping = aggregator.get_default_mapping()
# mapping: {"1100A1": "I", "311FT": "IIA", "334": "IIB", "621": "III", ...}
The aggregator reads the TOML at call time (not cached at import). BEA codes not present in the mapping are silently excluded from aggregation. This is intentional: unmapped industries contribute to the ~70-industry matrix but not to the 4-department matrix.
BEA code lookup: The BEA classification (2007 NAICS-based Summary level) is documented in the BEA I-O XLSX column headers and in the BEA interactive data portal at https://www.bea.gov/industry/input-output-accounts-data.