datasets_google_map_facets
Aggregate and count Google Maps businesses by category, location, or website status. Filter by rating, reviews, phone, website, and radius to get facet counts.
Instructions
Facet stored Google Maps businesses. Returns terms aggregation counts for Google Maps businesses. Facet enum: category, country, state, county, city, town, website_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Exact category filter, max 128 characters | |
| city | No | Exact city filter, max 128 characters | |
| country | No | Exact country filter, max 128 characters | |
| county | No | Exact county filter, max 128 characters | |
| facet | Yes | Facet enum: category, country, state, county, city, town, website_status | |
| has_phone | No | Filter by phone presence | |
| has_website | No | Filter by website presence | |
| lat | No | Latitude for radius filtering | |
| lon | No | Longitude for radius filtering | |
| min_rating | No | Minimum rating, 0 through 5 | |
| min_review_count | No | Minimum review count | |
| q | No | Full-text business search query, max 256 characters | |
| radius_m | No | Radius in meters, 1 through 50000; requires lat and lon when supplied | |
| sort | No | Sort enum: relevance, updated_at_desc, rating_desc, review_count_desc, distance_asc | |
| state | No | Exact state filter, max 128 characters | |
| town | No | Exact town filter, max 128 characters |