
Table 7.21. Transactions of Defined Benefit Pension Plans (A) - T72100
Data - BEA
Last observation: 2021 (N = 36)
First observation: 1984 (N = 36)
Last data update: 25 juil. 2026, 12:36
Last compile: 05 sept. 2026, 22:43
Layout
- NIPA Website. html
Ex: GDP and Net National Income
Code
T72100_A |>
mutate(table = "T72100") |>
bind_rows(T10105_A |>
mutate(table = "T10105")) |>
year_to_date() |>
group_by(date) |>
mutate(value = DataValue/DataValue[LineNumber == 1 & table == "T10105"]) |>
filter(LineNumber %in% c(1, 13, 15) & table == "T72100") |>
ggplot() + theme_minimal() +
geom_line(aes(x = date, y = value, color = LineDescription, linetype = LineDescription)) +
theme(legend.title = element_blank(),
legend.position = c(0.5, 0.15)) +
geom_rect(data = nber_recessions |>
filter(Peak > as.Date("1980-01-01")),
aes(xmin = Peak, xmax = Trough, ymin = -Inf, ymax = +Inf),
fill = 'grey', alpha = 0.5) +
scale_x_date(breaks = seq(1930, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
ylab("% of GDP") + xlab("") +
scale_color_manual(values = viridis(4)[1:3]) +
scale_y_continuous(breaks = 0.01*seq(-100, 100, 2),
labels = scales::percent_format(accuracy = 1))
Ex: Undistributed profits, government saving, personal saving
Code
T72100_A |>
mutate(table = "T72100") |>
bind_rows(T10105_A |>
mutate(table = "T10105")) |>
year_to_date() |>
group_by(date) |>
mutate(value = DataValue/DataValue[LineNumber == 1 & table == "T10105"]) |>
filter(LineNumber %in% c(9, 5, 10) & table == "T72100") |>
ggplot() + theme_minimal() +
geom_line(aes(x = date, y = value, color = LineDescription, linetype = LineDescription)) +
theme(legend.title = element_blank(),
legend.position = c(0.5, 0.15)) +
geom_rect(data = nber_recessions |>
filter(Peak > as.Date("1928-01-01")),
aes(xmin = Peak, xmax = Trough, ymin = -Inf, ymax = +Inf),
fill = 'grey', alpha = 0.5) +
scale_x_date(breaks = seq(1930, 2100, 5) |> paste0("-01-01") |> as.Date(),
limits = c(1929, 2020) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
ylab("% of GDP") + xlab("") +
scale_color_manual(values = viridis(4)[1:3]) +
scale_y_continuous(breaks = 0.01*seq(-100, 100, 1),
labels = scales::percent_format(accuracy = 1))
Ex 2: 1938, 1958, 1978, 1998, 2018 Table
Percent of GDP
Code
T72100_A |>
mutate(table = "T72100") |>
bind_rows(T10105_A |>
mutate(table = "T10105")) |>
year_to_date() |>
group_by(date) |>
mutate(year = year(date)) |>
filter(year %in% c(1938, 1958, 1978, 1998, 2018)) |>
group_by(year) |>
mutate(value = round(100*DataValue/DataValue[LineNumber == 1 & table == "T10105"], 1)) |>
filter(table == "T72100") |>
ungroup() |>
select(2, 3, 7, 8) |>
spread(year, value) %>%
{if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}Billions
Code
T72100_A |>
year_to_date() |>
mutate(year = year(date)) |>
filter(year %in% c(1938, 1958, 1978, 1998, 2018)) |>
group_by(year) |>
mutate(value = round(DataValue/1000)) |>
ungroup() |>
select(2, 3, 6, 7) |>
spread(year, value) %>%
{if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}