bea_gdp_by_industry
Retrieve GDP contributions by industry sector from the BEA GDPbyIndustry dataset. Select table type, frequency, years, and specific NAICS codes.
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 |
|---|---|---|---|
| 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) | |
| 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) |