Location trends
location_trendsIdentify site-level attendance patterns by comparing late rates and no-shows across weekdays or weeks. Pinpoint problem days or partial-week anomalies for any location.
Instructions
Late rate and no-shows per site, grouped by weekday or by week. Use to spot site-level patterns such as a bad day of the week. Weekly rows carry partial_week=true when the date range cuts into that week.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date, inclusive (YYYY-MM-DD). Defaults to the end of the data. | |
| from | No | Start date, inclusive (YYYY-MM-DD). Defaults to the start of the data. | |
| group_by | No | weekday | |
| location | No | Site name, e.g. 'Dublin'. Omit for all sites. | |
| grace_minutes | No | Minutes after the scheduled start before a clock-in counts as late. |