
Render a Withings sleep report to HTML or PDF
Source:R/withings-report.R
withings_sleep_report_render.RdGenerates a small report for a withings_sleep object using R Markdown.
Usage
withings_sleep_report_render(
sleep,
output_file,
format = c("html", "pdf"),
title = "Withings Sleep Report"
)Arguments
- sleep
A
withings_sleepobject (fromwithings_sleep()).- output_file
Path to write the report (e.g., "report.html" or "report.pdf").
- format
One of "html" or "pdf". Defaults to "html".
- title
Document title. Defaults to "Withings Sleep Report".