get_industry_lending
Get quarterly SBA 7(a) loan aggregates for any NAICS industry. Scope by nation, state, or county, and choose the latest quarter or a custom time series.
Instructions
Get quarterly SBA 7(a) loan aggregates for a NAICS industry. Default scope is national; pass geo='state' with state=<2-digit FIPS> or geo='county' with county=<5-digit FIPS> to scope the aggregate. Without period filters, returns the latest available quarterly observation. Provide both from_period and to_period (YYYY-Qq, e.g. '2024-Q1') for a time series. Params: naics is a NAICS code (2–6 digits, e.g. '541211' for Offices of Accountants). Source: US Small Business Administration, 7(a) Loan Program (public domain).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geo | No | ||
| year | No | ||
| naics | Yes | ||
| state | No | ||
| county | No | ||
| quarter | No | ||
| to_period | No | ||
| from_period | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |