A series of detailed tables showing how industries interact with each other and with the rest of the economy. Supply tables show the goods and services produced by domestic industries as well as imports of these goods and services. Use tables show who uses these goods and services, including other industries. Requirements tables summarize the full supply chain, including direct and indirect inputs.
GDP as the sum of final uses: consumption, investment, government spending, net export.
\[
Y = C + I + G + X - M
\]
Billions of dollars in 2022.
Code
x <- pubdata::get("bea_io", "2023_mu_use-bef-pro_sec_2022")commodity_codes <- x %>%filter(core_matrix) %>%distinct(row_code) %>%pull()x %>%mutate(col_name =case_match( col_name,"Personal consumption expenditures"~"C","Private fixed investment"~"I1","Change in private inventories"~"I2","Exports of goods and services"~"X","Imports of goods and services"~"M","Government consumption expenditures and gross investment"~"G","Total Final Uses (GDP)"~"Y" ),value =replace_na(value, 0) ) %>%filter(row_code %in% commodity_codes, !is.na(col_name)) %>%pivot_wider(id_cols =c(row_code, row_name), names_from = col_name) %>%mutate(I = I1 + I2) %>%select(row_code, row_name, Y, C, I, G, X, M) %>% { add_row(., row_code ="", row_name ="TOTAL", summarize(., across(where(is.numeric), sum)), .before =1) } %>%mutate(across(where(is.numeric), \(x) round(x /1000)))
row_code
row_name
Y
C
I
G
X
M
TOTAL
25744
17512
4757
4447
2600
-3571
11
Agriculture, forestry, fishing, and hunting
78
123
-22
0
60
-83
21
Mining
48
0
98
0
178
-228
22
Utilities
359
359
0
0
5
-5
23
Construction
1878
0
1497
382
0
0
31G
Manufacturing
1977
2413
1136
149
1029
-2751
42
Wholesale trade
1495
706
327
39
321
102
44RT
Retail trade
2376
2258
118
0
0
0
48TW
Transportation and warehousing
648
460
43
5
154
-14
51
Information
1109
702
316
40
72
-21
FIRE
Finance, insurance, real estate, rental, and leasing
4396
3979
203
0
284
-70
PROF
Professional and business services
1942
349
1186
277
298
-167
6
Educational services, health care, and social assistance
3647
3642
0
0
16
-12
7
Arts, entertainment, recreation, accommodation, and food services
1567
1556
9
0
4
-2
81
Other services, except government
761
764
0
0
0
-4
G
Government
3664
94
0
3570
1
0
Used
Scrap, used and secondhand goods
-49
127
-169
-15
32
-24
Other
Noncomparable imports and rest-of-the-world adjustment
-152
-19
15
0
146
-294
Components of value added by industry
Use table subtotals satisfy the following accounting identity:
\[
\text{Total industry output} =
\text{Total Intermediate} + \text{Compensation of employees} + \text{Gross operating surplus} + \text{Net taxes}
\]
Table below shows percentage shares of total output by industry in 2022 at the sector level.
Code
x <- pubdata::get("bea_io", "2023_mu_use-bef-pro_sec_2022")industry_codes <- x %>%filter(core_matrix) %>%distinct(col_code) %>%pull()x %>%filter( row_name %in%c("Total Intermediate", "Compensation of employees", "Gross operating surplus", "Taxes on production and imports, less subsidies", "Total Industry Output"), col_code %in% industry_codes ) %>%mutate(pct =round(100* value /sum(if_else(row_name =="Total Industry Output", value, 0)), 1),.by = col_code) %>%filter(row_name !="Total Industry Output") %>%pivot_wider(id_cols =c(col_code, col_name), names_from = row_name, values_from = pct) %>%rename(intermediates ="Total Intermediate", compensation ="Compensation of employees", taxes ="Taxes on production and imports, less subsidies",surplus ="Gross operating surplus")
col_code
col_name
intermediates
compensation
taxes
surplus
11
Agriculture, forestry, fishing, and hunting
57.2
10.1
0.2
32.5
21
Mining
46.9
9.0
7.4
36.7
22
Utilities
37.5
13.7
10.8
38.0
23
Construction
48.9
32.7
0.6
17.7
31G
Manufacturing
63.2
17.6
1.4
17.9
42
Wholesale trade
44.6
23.9
11.7
19.9
44RT
Retail trade
40.2
28.3
12.3
19.2
48TW
Transportation and warehousing
48.8
28.3
2.6
20.3
51
Information
43.3
20.9
2.8
32.9
FIRE
Finance, insurance, real estate, rental, and leasing
35.8
14.9
5.1
44.2
PROF
Professional and business services
38.5
45.9
1.6
13.9
6
Educational services, health care, and social assistance
36.6
52.6
1.0
9.8
7
Arts, entertainment, recreation, accommodation, and food services
44.6
32.7
7.0
15.7
81
Other services, except government
38.8
44.2
3.5
13.5
G
Government
39.8
46.5
-1.2
14.9
Sector Use table in matrix form
Pivot long to wide. Using codes as row and column names, billions of dollars.