datasets_airbnb_facets
Compute suppressed facet distribution counts for Airbnb market listings, honoring filters like country, market, rating, room type, and amenities to analyze segment sizes.
Instructions
Facet the Airbnb markets dataset. Returns suppressed distribution counts over the Airbnb markets dataset, honoring the same filters as search. Facet enum: country, market, currency, superhost, guest_favorite, rating_band, review_band, admin1 (top subdivision), locality (settlement), room_type (entire_place/private_room/hotel/shared_room), property_type (Airbnb's canonical listing type from the detail page), amenities (each amenity with the count of listings offering it). Enrichment-derived facets include a coverage object with the number and share of filtered listings carrying that dimension; buckets stay empty below the 20% minimum visibility gate. Coverage above the gate may still be partial. group_by enum: country, market, admin1, locality, room_type, property_type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| facet | Yes | Facet enum: country, market, currency, superhost, guest_favorite, rating_band, review_band, admin1, locality, room_type, property_type, amenities | |
| market | No | Exact metro-market filter, max 128 characters | |
| country | No | Exact ISO-3166-1 alpha-2 country filter, e.g. FR | |
| group_by | No | Aggregate cell dimension enum: country, market, admin1, locality, room_type, property_type. Defaults to country | |
| superhost | No | Count only Superhost listings | |
| min_rating | No | Minimum listing rating, from 0 through 5 | |
| active_since | No | Freshness filter, an ISO-8601 date (YYYY-MM-DD) | |
| min_listings | No | Minimum listings per bucket; raises the small-cell suppression floor | |
| guest_favorite | No | Count only Guest Favorite listings (an observed lower bound; the badge under-counts) | |
| min_review_count | No | Minimum listing review count, 0 or greater |