
Table 2.9. Personal Income and Its Disposition by Households and by Nonprofit Institutions Serving Households (A) - T20900
Data - BEA
Last observation: 2020 (N = 86)
First observation: 1992 (N = 86)
Last data update: 25 juil. 2026, 12:36
Last compile: 05 sept. 2026, 22:42
Layout
- NIPA Website. html
Ex 1: Main Components of income
Code
T20900_A |>
year_to_date() |>
group_by(date) |>
mutate(value = DataValue/DataValue[LineDescription == "Equals: Disposable personal income"]) |>
filter(LineNumber %in% c(2, 3, 4, 5, 9)) |>
ggplot() + theme_minimal() +
geom_line(aes(x = date, y = value, color = LineDescription, linetype = LineDescription)) +
theme(legend.title = element_blank(),
legend.position = c(0.45, 0.5)) +
geom_rect(data = nber_recessions |>
filter(Peak > as.Date("1991-01-01")),
aes(xmin = Peak, xmax = Trough, ymin = 0, ymax = +Inf),
fill = 'grey', alpha = 0.5) +
scale_x_date(breaks = seq(1925, 2100, 1) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
ylab("% of Disposable Personal Income") + xlab("") +
scale_color_manual(values = viridis(7)[1:5]) +
scale_y_continuous(breaks = 0.01*seq(0, 80, 5),
labels = scales::percent_format(accuracy = 1))
Ex 1: Main Components of income
Code
T20900_A |>
year_to_date() |>
group_by(date) |>
mutate(value = DataValue/DataValue[LineDescription == "Personal income"]) |>
filter(LineNumber %in% c(2, 3, 4, 5, 9)) |>
ggplot() + theme_minimal() +
geom_line(aes(x = date, y = value, color = LineDescription, linetype = LineDescription)) +
theme(legend.title = element_blank(),
legend.position = c(0.45, 0.5)) +
geom_rect(data = nber_recessions |>
filter(Peak > as.Date("1991-01-01")),
aes(xmin = Peak, xmax = Trough, ymin = 0, ymax = +Inf),
fill = 'grey', alpha = 0.5) +
scale_x_date(breaks = seq(1925, 2100, 1) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
ylab("% of Personal Income") + xlab("") +
scale_color_manual(values = viridis(7)[1:5]) +
scale_y_continuous(breaks = 0.01*seq(0, 80, 5),
labels = scales::percent_format(accuracy = 1))
Ex 2: 1998, 2008, 2018 Table
Percent (% of Personal Income)
Code
T20900_A |>
year_to_date() |>
mutate(year = year(date)) |>
filter(year %in% c(1998, 2008, 2018)) |>
group_by(year) |>
mutate(value = round(100*DataValue/DataValue[LineDescription == "Personal income"], 1)) |>
ungroup() |>
select(2, 3, 6, 7) |>
spread(year, value) %>%
{if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}Percent (% of Diposable Personal Income)
Code
T20900_A |>
year_to_date() |>
mutate(year = year(date)) |>
filter(year %in% c(1998, 2008, 2018)) |>
group_by(year) |>
mutate(value = round(100*DataValue/DataValue[LineDescription == "Equals: Disposable personal income"], 1)) |>
ungroup() |>
select(2, 3, 6, 7) |>
spread(year, value) %>%
{if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}Billions
Code
T20900_A |>
year_to_date() |>
mutate(year = year(date)) |>
filter(year %in% c(1998, 2008, 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 .}