{
  "name": "us-gambling-spending",
  "title": "US Consumer Spending on Gambling and Recreation Admissions, 1929-2025",
  "description": "Annual US personal consumption expenditures on gambling (casino gambling, lotteries and pari-mutuel net receipts, measured net of winnings) and on recreation admissions (movies, live entertainment, spectator sports, museums, amusement parks, membership clubs), with recreation services and total personal consumption expenditures for scale. Millions of current (nominal) US dollars, from the US Bureau of Economic Analysis (BEA) NIPA personal consumption expenditure series (BEA flat files), with lines as in Table 2.4.5U from 1959; for lines 1, 209, 210 and 226, earlier history (1929-1958) is from the same BEA series, which corresponds to Table 2.4.5 lines 1, 76, 77 and 79. BEA release of 25 November 2026. Gambling, recreation services, line 210 and total PCE start in 1929; the other lines start in 1959.",
  "status": "structured",
  "licenses": [
    {
      "name": "US-PD",
      "title": "Public domain: work of the US federal government. BEA: \"Unless stated otherwise, the information posted on the BEA web site is in the public domain and may be used or reproduced without specific permission.\" BEA asks for a citation such as \"Source: U.S. Bureau of Economic Analysis\".",
      "path": "https://www.bea.gov/help/faq/145"
    }
  ],
  "sources": [
    {
      "title": "BEA, NIPA Table 2.4.5U. Personal Consumption Expenditures by Type of Product (annual, current dollars), via the NIPA flat files, release of 25 November 2026",
      "path": "https://apps.bea.gov/national/Release/TXT/NipaDataA.txt"
    },
    {
      "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": "frozen", "snapshot": "2026-11-28" },
  "resources": [
    {
      "path": "data/us-gambling-spending.csv",
      "name": "spending",
      "title": "US personal consumption expenditures on gambling and recreation admissions, by year and Table 2.4.5U line",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "schema": {
        "fields": [
          { "name": "year", "type": "integer", "description": "Calendar year. 1929-2025 for lines 1, 209, 210 and 226; 1959-2025 for the other lines." },
          { "name": "line", "type": "integer", "description": "Line number in BEA NIPA Table 2.4.5U (as of the 25 November 2026 release). Lines: 1, 209-217, 226-229." },
          { "name": "category", "type": "string", "description": "BEA's label for the line, with BEA's footnote references removed (for example \"Gambling (91)\" becomes \"Gambling\"; the number is the category's line in Table 2.5.5, PCE by function)." },
          { "name": "parent_line", "type": "integer", "description": "The line this one is part of, within this dataset: 210 and 226 are parts of 209; 211, 212, 213 and 217 are parts of 210; 214-216 are parts of 213; 227-229 are parts of 226. Empty for line 1 (total PCE) and line 209 (recreation services, itself part of household services). Parts can differ from their parent by a million or so because BEA rounds each line separately." },
          { "name": "series_code", "type": "string", "description": "BEA NIPA series code for the line, current dollars (for example DGAMRC for gambling). The same code appears in other BEA tables and, with suffix 1A027NBEA, in FRED." },
          { "name": "million_usd", "type": "integer", "description": "Personal consumption expenditures in millions of current (nominal) US dollars, not adjusted for inflation, as published by BEA. Gambling lines are net of winnings: wagers minus prizes paid out." }
        ],
        "primaryKey": ["year", "line"]
      }
    }
  ],
  "views": [
    {
      "name": "gambling-vs-admissions-chart",
      "title": "US spending on gambling (net of winnings) and on admissions to movies, live shows and spectator sports, 1959-2025 (millions of current dollars)",
      "resources": ["spending"],
      "specType": "vega-lite",
      "spec": {
        "width": "container",
        "height": 340,
        "transform": [
          { "filter": { "field": "line", "oneOf": [226, 213] } },
          { "filter": "datum.year >= 1959" }
        ],
        "mark": { "type": "line", "point": { "size": 12 } },
        "encoding": {
          "x": { "field": "year", "type": "quantitative", "axis": { "format": "d", "title": "Year" } },
          "y": { "field": "million_usd", "type": "quantitative", "axis": { "title": "Millions of current US dollars" } },
          "color": { "field": "category", "type": "nominal", "title": "Category" },
          "tooltip": [
            { "field": "year", "type": "quantitative", "format": "d" },
            { "field": "category", "type": "nominal" },
            { "field": "million_usd", "type": "quantitative", "format": "," }
          ]
        }
      }
    }
  ]
}
