datasets_numbeo_cities_facets
Returns city counts per country from the Numbeo dataset, narrowed by cost of living, safety, pollution, and other index thresholds.
Instructions
Facet the Numbeo cities dataset. Returns city counts per country for the Numbeo cities dataset; facet is required and accepts only country. Narrow the counts with q, country and index thresholds such as min_cost_of_living_index, min_safety_index or max_pollution_index. Items are value and count pairs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Full-text query over the city name, max 256 characters | |
| facet | Yes | Facet enum: country | |
| country | No | Exact country filter, max 128 characters | |
| max_crime_index | No | Maximum Crime Index | |
| min_crime_index | No | Minimum Crime Index | |
| min_safety_index | No | Minimum Safety Index | |
| max_traffic_index | No | Maximum Traffic Index | |
| max_pollution_index | No | Maximum Pollution Index | |
| min_health_care_index | No | Minimum Health Care Index | |
| max_cost_of_living_index | No | Maximum Cost of Living Index (New York = 100) | |
| min_cost_of_living_index | No | Minimum Cost of Living Index (New York = 100) | |
| min_quality_of_life_index | No | Minimum Quality of Life Index |