Skip to contents

Converts Withings sleep summary JSON (series-based) into a tidy tibble.

Usage

withings_json_to_df(x)

Arguments

x

A JSON string, a file path to JSON, or a parsed list (from jsonlite::fromJSON)

Value

A tibble with w_* prefixed columns for summary metrics and metadata. Includes derived POSIXct columns in UTC for start/end/created/modified.