feat(analytics): day-by-hour visitor matrix for a week #87
Labels
No labels
blocked
bug
enhancement
high-priority
low-priority
needs-info
needs-triage
ready-for-agent
ready-for-human
referenced
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gabogg/hikcentral#87
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Route
GET /api/analytics/timeseries/week-hourly?week_start=YYYY-MM-DDA 7 × 24 matrix of visitors per business-day hour (04:00 → 04:00), with gap-estimated cells marked.
Used by
Week view: the busy-hours heatmap.
Notes
Could instead be a
bucket=houroption on the daily series route; decide in review. Calling/timeseries/hourlyseven times works but is not a contract.Context
Part of the statistics deck redesign, draft RFC in #80 (
docs/architecture/rfc-statistics-deck-display-model.md; mockup linked there). Period selection is settled in #81; the parameters below assume a period is identified bygranularity(day/week/month) and its first business day. A year period is out of scope.Shared constraints (all statistics-deck routes)
daily_reset_timeboundaries,app/facility_time.py); an in-progress cycle is never returned._COUNTED_CAMERA_JOIN/_COUNTED_CAMERA_FILTER); quarantined events never do.require_admin; who can open the deck is open question 7 in the RFC.analytics_service, SQL in repositories.Triage (2026-09-24): folded into #84 as a
bucket=houroption (each day's 24 hourly values plus gap-estimated cells). Closing.