bea_gdp_by_industry
Fetch GDP contribution by industry from BEA GDP-by-Industry data. Filter by year, industry, and table to analyze value added, real GDP growth contributions, or percentage shares.
Instructions
Get GDP contribution by industry sector nationally from BEA GDPbyIndustry dataset.
TableID options:
1: Value added by industry (default)
5: Contributions to percent change in real GDP
6: Value added percent shares
25: Real value added by industry
Industry='ALL' returns all sectors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Year(s): comma-separated or 'ALL'. Default: last 3 complete years | |
| industry | No | 'ALL' (default), or specific NAICS codes: '11' (agriculture), '21' (mining), '23' (construction), '31-33' (manufacturing), '42' (wholesale), '44-45' (retail), '51' (information), '52' (finance) | |
| table_id | No | Table ID: '1' (value added, default), '5' (contributions to GDP growth), '6' (% shares), '25' (real value added) | |
| frequency | No | Frequency: A=annual (default), Q=quarterly (not all tables) |