get_enterprise_counts
Fetch enterprise counts for a NACE Rev.2 code, bucketed into SME (1-249) and corporate (250+) employees, summed across EU27, Norway, and Switzerland. Customize geographies, year, or exclude micro firms.
Instructions
Enterprise counts for one NACE Rev.2 code, bucketed into SME (1-249) and Corp (250+), summed across the given geographies.
Args: nace_code: NACE Rev.2 code, e.g. "C27", "C28", "D35", "C26.30" (use the Eurostat dotted form for sub-classes, e.g. "C2630" is NOT valid; use "C26.30"). geo: list of Eurostat geo codes. Defaults to EU27 + Norway + Switzerland (["EU27_2020", "NO", "CH"]). Pass individual countries (e.g. ["DE","FR"]) to break it down. NOTE: UK ("UK"/"GB") is not available post-Brexit. year: a single year as a string, e.g. "2022". If omitted, the latest available year is used automatically. exclude_micro: if True, the SME bucket excludes micro firms (0-9 employees), i.e. SME = 10-249. The TAM sheet notes this as an option.
Returns a dict with sme_count, corp_250plus_count, the per-band breakdown, the resolved year, and caveats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geo | No | ||
| year | No | ||
| nace_code | Yes | ||
| exclude_micro | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||