Table 1.1.11. Real Gross Domestic Product - Percent Change From Quarter One Year Ago (Q) - T10101 - T10111

Data - BEA

Last observation: Q2 2022 (N = 40)

First observation: Q1 1948 (N = 35)

Last data update: 25 juil. 2026, 12:36

Last compile: 05 sept. 2026, 22:42

Ex 2: 1938, 1958, 1978, 1998, 2018 Table

Code
T10111_Q |>
  quarter_to_date() |>
  mutate(year = year(date)) |>
  filter(year %in% c(1938, 1958, 1978, 1998, 2018),
         month(date) == 3) |>
  group_by(year) |>
  mutate(value = round(DataValue, 2)) |>
  ungroup() |>
  select(2, 3, 6, 7) |>
  spread(year, value) %>%
  {if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}