{
  "name": "us-consumer-spending",
  "title": "US Consumer Spending by Category",
  "description": "What Americans spend each year on about 400 kinds of goods and services, from rent to streaming, on one basis since 1959. In 2025 they spent more on gambling, after winnings, than on cinema, live shows, sport and museums combined.",
  "status": "monitored",
  "licenses": [
    {
      "name": "US-PD",
      "title": "Public domain (BEA)",
      "path": "https://www.bea.gov/help/faq/145"
    }
  ],
  "sources": [
    {
      "title": "U.S. Bureau of Economic Analysis, NIPA Tables 2.4.5U and 2.4.6U, Personal Consumption Expenditures by Type of Product (Section2All_xls.xlsx)",
      "path": "https://apps.bea.gov/national/Release/XLS/Underlying/Section2All_xls.xlsx"
    },
    {
      "title": "BEA Interactive Data: NIPA underlying detail, Table 2.4.5U",
      "path": "https://apps.bea.gov/iTable/?reqid=19&step=2&isuri=1&categories=underlying"
    }
  ],
  "upkeep": {
    "mode": "living",
    "refresh": "monthly",
    "workflow": ".github/workflows/update.yml"
  },
  "resources": [
    {
      "path": "data/us-consumer-spending.csv",
      "name": "annual",
      "title": "Consumer spending by category, annual, every line of Table 2.4.5U",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "schema": {
        "fields": [
          {
            "name": "year",
            "type": "integer",
            "description": "Calendar year, 1959 on."
          },
          {
            "name": "line",
            "type": "integer",
            "description": "Line number in BEA Table 2.4.5U (1-402). Line numbers can change when BEA revises the table; series_code is stable."
          },
          {
            "name": "category",
            "type": "string",
            "description": "BEA's label for the line, without BEA's footnote references. Labels starting \"Less:\" are subtracted from their parent."
          },
          {
            "name": "parent_line",
            "type": "integer",
            "description": "The line this one is part of, from BEA's indentation. Empty for line 1 (all consumer spending) and for the addenda lines."
          },
          {
            "name": "level",
            "type": "integer",
            "description": "Depth in the hierarchy: 0 for all consumer spending, 1 for goods and services, and so on. Empty for addenda lines."
          },
          {
            "name": "section",
            "type": "string",
            "description": "\"main\" for the hierarchy of lines 1-368; \"addenda\" for alternative totals such as PCE excluding food and energy (lines 369-402), which are not parts of another line."
          },
          {
            "name": "series_code",
            "type": "string",
            "description": "BEA series code, current dollars (for example DGAMRC for gambling)."
          },
          {
            "name": "million_usd",
            "type": "integer",
            "description": "Spending in millions of current (nominal) US dollars, as published by BEA."
          },
          {
            "name": "chained_2017_million_usd",
            "type": "integer",
            "description": "Real spending in millions of chained 2017 dollars (Table 2.4.6U), 2007 on; empty before 2007. Chained-dollar values do not add up to their parent."
          }
        ],
        "primaryKey": [
          "year",
          "line"
        ]
      }
    },
    {
      "path": "data/lines.csv",
      "name": "lines",
      "title": "The 402 lines of Table 2.4.5U with their parent line",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "schema": {
        "fields": [
          {
            "name": "line",
            "type": "integer",
            "description": "Line number in Table 2.4.5U."
          },
          {
            "name": "category",
            "type": "string",
            "description": "BEA's label for the line, without footnote references."
          },
          {
            "name": "parent_line",
            "type": "integer",
            "description": "The line this one is part of. Empty for line 1 and the addenda."
          },
          {
            "name": "level",
            "type": "integer",
            "description": "Depth in the hierarchy (0 = all consumer spending). Empty for addenda."
          },
          {
            "name": "section",
            "type": "string",
            "description": "\"main\" or \"addenda\"."
          },
          {
            "name": "series_code",
            "type": "string",
            "description": "BEA series code, current dollars."
          },
          {
            "name": "first_year",
            "type": "integer",
            "description": "First year with an annual value."
          }
        ],
        "primaryKey": [
          "line"
        ]
      }
    },
    {
      "path": "data/us-consumer-spending-monthly.csv",
      "name": "monthly",
      "title": "Consumer spending by category, monthly, seasonally adjusted at annual rates",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "schema": {
        "fields": [
          {
            "name": "month",
            "type": "string",
            "description": "Month, YYYY-MM, January 1959 on."
          },
          {
            "name": "line",
            "type": "integer",
            "description": "Line number in Table 2.4.5U; join to lines.csv for the label and parent."
          },
          {
            "name": "million_usd_annual_rate",
            "type": "integer",
            "description": "Spending that month in millions of current US dollars, seasonally adjusted at an annual rate (a month's spending times about 12)."
          }
        ],
        "primaryKey": [
          "month",
          "line"
        ]
      }
    },
    {
      "path": "data/leisure-spending-2025.csv",
      "name": "leisure-spending-2025",
      "title": "Spending on leisure and vices, 2025, billions of dollars",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "schema": {
        "fields": [
          {
            "name": "category",
            "type": "string",
            "description": "Short name for the line."
          },
          {
            "name": "line",
            "type": "integer",
            "description": "Line number in Table 2.4.5U."
          },
          {
            "name": "billion_usd",
            "type": "number",
            "description": "Spending in 2025, billions of current US dollars."
          },
          {
            "name": "label",
            "type": "string",
            "description": "Chart label, rounded."
          },
          {
            "name": "colour",
            "type": "string",
            "description": "Chart colour."
          }
        ],
        "primaryKey": [
          "category"
        ]
      }
    },
    {
      "path": "data/streaming-vs-cinema.csv",
      "name": "streaming-vs-cinema",
      "title": "Video streaming against cinema and live shows, billions of dollars",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "schema": {
        "fields": [
          {
            "name": "year",
            "type": "year",
            "description": "Calendar year, 2007 on (when BEA's streaming line starts)."
          },
          {
            "name": "video_streaming_billion_usd",
            "type": "number",
            "description": "Video streaming and rental (line 224), billions of current US dollars."
          },
          {
            "name": "cinema_billion_usd",
            "type": "number",
            "description": "Motion picture theaters (line 214), billions of current US dollars."
          },
          {
            "name": "live_shows_billion_usd",
            "type": "number",
            "description": "Live entertainment, excluding sports (line 215), billions of current US dollars."
          }
        ],
        "primaryKey": [
          "year"
        ]
      }
    },
    {
      "path": "data/goods-vs-services.csv",
      "name": "goods-vs-services",
      "title": "Goods and services as shares of consumer spending",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "schema": {
        "fields": [
          {
            "name": "year",
            "type": "year",
            "description": "Calendar year."
          },
          {
            "name": "goods_pct",
            "type": "number",
            "description": "Goods (line 2) as a percentage of all consumer spending (line 1)."
          },
          {
            "name": "services_pct",
            "type": "number",
            "description": "Services (line 150) as a percentage of all consumer spending."
          }
        ],
        "primaryKey": [
          "year"
        ]
      }
    }
  ],
  "views": [
    {
      "name": "leisure-2025",
      "title": "What Americans spent on leisure in 2025",
      "description": "Spending in 2025, billions of dollars. Gambling, counted after winnings are paid back, took $214 billion: more than cinema, live shows, spectator sports, museums and libraries together ($130 billion). Of the categories shown, only alcohol bought in shops took more. Cinema took $12 billion.",
      "resourceName": "leisure-spending-2025",
      "specType": "plot",
      "spec": {
        "height": 460,
        "marginLeft": 250,
        "x": {
          "label": "$ billion, 2025"
        },
        "y": {
          "label": null
        },
        "marks": [
          {
            "type": "barX",
            "x": "billion_usd",
            "y": "category",
            "fill": "colour",
            "sort": "billion_usd"
          },
          {
            "type": "text",
            "x": "billion_usd",
            "y": "category",
            "text": "label",
            "textAnchor": "start",
            "dx": 4,
            "stroke": "#374151"
          }
        ]
      }
    },
    {
      "name": "streaming-vs-cinema",
      "title": "Streaming and rental overtook cinema in 2015",
      "description": "Spending on video streaming and rental against cinema tickets, billions of current dollars. Streaming and rental passed cinema in 2015 and by 2025 were five times as big: $59 billion against $12 billion. Cinema is still below its 2019 level of $14 billion.",
      "resourceName": "streaming-vs-cinema",
      "specType": "plot",
      "spec": {
        "height": 340,
        "marginLeft": 48,
        "x": {
          "tickFormat": "d"
        },
        "y": {
          "grid": true,
          "label": "Spending, $ billion"
        },
        "marks": [
          {
            "type": "ruleX",
            "staticData": [
              {
                "year": 2015
              }
            ],
            "x": "year",
            "stroke": "#9ca3af",
            "strokeDasharray": "4,4",
            "tip": false
          },
          {
            "type": "areaY",
            "x": "year",
            "y": "video_streaming_billion_usd",
            "fill": "#111827",
            "fillOpacity": 0.06,
            "tip": false
          },
          {
            "type": "line",
            "x": "year",
            "y": "video_streaming_billion_usd",
            "stroke": "#111827",
            "sort": "year"
          },
          {
            "type": "line",
            "x": "year",
            "y": "cinema_billion_usd",
            "stroke": "#8b929d",
            "sort": "year"
          },
          {
            "type": "text",
            "staticData": [
              {
                "year": 2021,
                "v": 56,
                "label": "Streaming and rental: $59bn"
              }
            ],
            "x": "year",
            "y": "v",
            "text": "label",
            "stroke": "#111827",
            "tip": false
          },
          {
            "type": "text",
            "staticData": [
              {
                "year": 2022.5,
                "v": 17,
                "label": "Cinema: $12bn"
              }
            ],
            "x": "year",
            "y": "v",
            "text": "label",
            "stroke": "#8b929d",
            "tip": false
          },
          {
            "type": "text",
            "staticData": [
              {
                "year": 2015,
                "v": 45,
                "label": "2015: streaming pulls ahead"
              }
            ],
            "x": "year",
            "y": "v",
            "text": "label",
            "stroke": "#6b7280",
            "tip": false
          }
        ]
      }
    },
    {
      "name": "goods-vs-services",
      "title": "Services now take two-thirds of US consumer spending",
      "description": "Goods and services as shares of all US consumer spending. Services were 46% in 1959, overtook goods in 1970 and reached 69% in 2025. Rent, health care, restaurant meals, insurance and other services now outweigh goods more than two to one.",
      "resourceName": "goods-vs-services",
      "specType": "plot",
      "spec": {
        "height": 320,
        "marginLeft": 48,
        "x": {
          "tickFormat": "d"
        },
        "y": {
          "grid": true,
          "label": "Share of consumer spending, %",
          "domain": [
            0,
            100
          ]
        },
        "marks": [
          {
            "type": "ruleX",
            "staticData": [
              {
                "year": 1970
              }
            ],
            "x": "year",
            "stroke": "#9ca3af",
            "strokeDasharray": "4,4",
            "tip": false
          },
          {
            "type": "line",
            "x": "year",
            "y": "services_pct",
            "stroke": "#111827",
            "sort": "year"
          },
          {
            "type": "line",
            "x": "year",
            "y": "goods_pct",
            "stroke": "#8b929d",
            "sort": "year"
          },
          {
            "type": "text",
            "staticData": [
              {
                "year": 2012,
                "v": 76,
                "label": "Services: 69% in 2025"
              }
            ],
            "x": "year",
            "y": "v",
            "text": "label",
            "stroke": "#111827",
            "tip": false
          },
          {
            "type": "text",
            "staticData": [
              {
                "year": 2012,
                "v": 24,
                "label": "Goods: 31%"
              }
            ],
            "x": "year",
            "y": "v",
            "text": "label",
            "stroke": "#8b929d",
            "tip": false
          }
        ]
      }
    }
  ],
  "keywords": [
    "US consumer spending",
    "consumer spending by category",
    "personal consumption expenditures",
    "PCE by type of product",
    "what Americans spend money on",
    "gambling spending",
    "streaming spending",
    "household spending US",
    "BEA"
  ]
}
