County Business Patterns Tool
county_business_patterns_toolRetrieve U.S. business statistics by industry, geography, and size: establishment counts, employment, and payroll data from the Census Bureau's County Business Patterns.
Instructions
Retrieve business statistics from County Business Patterns (CBP). Get establishment counts, employment, payroll data by industry (NAICS code), geography, and business size. Provides annual data on the number and types of businesses operating in the U.S.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Year for CBP data (1986-present, most recent is typically 2 years behind) | |
| variables | No | Variables to retrieve. Common: ESTAB (establishments), EMP (employment), PAYANN (annual payroll in $1000s), PAYQTR1 (Q1 payroll), NAICS2017 (industry code) | |
| geography | No | Geographic level for business data | state |
| state | No | State FIPS code (required for county geography) | |
| naics | No | NAICS 2017 industry code (2-6 digits). Examples: "72" (accommodation/food), "541" (professional services) | |
| employmentSizeClass | No | Employment size code (e.g., "001" for all establishments, "212" for 20-99 employees) |