My health data,
in a pipeline I built.
My Apple Watch data syncs here every hour. It goes into a raw table, a clean view and a derived view in Postgres, and the scores are worked out in SQL. What you see is my real data, read straight from the database.
How a heartbeat becomes a metric
Hover or tap any box to trace its path. Send an out-of-range reading to watch it get flagged and kept, never deleted.
Apple Watch data is exported hourly to a Supabase Edge Function that checks a key and upserts one row per day into a raw table. A clean view runs 7 range checks and flags out-of-range values instead of deleting them; a derived view computes rolling averages and scores in SQL, with anomaly checks against the previous 14 days. Visitors read a public view with safe columns; the owner reads everything after two-factor sign-in.
Engineering decisions, not a toy tracker
quality_flags[] — never rejected. Data is always preserved.