datasets_bbb_scamtracker_reports_facets
Facet the BBB Scam Tracker reports dataset. Returns distribution counts over the stored BBB Scam Tracker reports (dataset id enum value bbb-scamtracker-reports), honoring the same filters as search. Counts are of stored reports.
Instructions
Facet the BBB Scam Tracker reports dataset. Returns distribution counts over the stored BBB Scam Tracker reports (dataset id enum value bbb-scamtracker-reports), honoring the same filters as search. Counts are of stored reports. Facet enum: scam_type, state, country. country enum: USA, CAN.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Full-text match on the report narrative and the business name used, max 256 characters | |
| facet | Yes | Facet enum: scam_type, state, country | |
| state | No | 2-letter state or province code of the targeted person | |
| country | No | Country of the targeted person. Enum: USA, CAN | |
| date_to | No | Inclusive report-date ceiling, YYYY-MM-DD | |
| max_loss | No | Ceiling against the reported dollar loss, 0 or greater | |
| min_loss | No | Floor against the reported dollar loss, 0 or greater | |
| date_from | No | Inclusive report-date floor, YYYY-MM-DD | |
| scam_type | No | Exact scam type filter |