MetaData Engineer · Technical ScreenCodemia practiceFlatten Nested Reels Watch Event Payloads with json_normalize
Raw client events arrive as JSON with nested objects, e.g. {'event_id', 'user': {'id', 'country'}, 'media': {'reel_id', 'duration_ms'}, 'watch': {'ms', 'muted'}}, some with missing keys. Flatten them into a typed DataFrame and compute per-reel average watch fraction, ignoring events without a duration.
Easy
Data Manipulation (SQL/Python)