Report Generation¶
TL;DR
Call result.export_report("quality_report.html") for a self-contained HTML file with the quality timeline, per-tag summary, issue summary, and timestamp health — no CDN or internet required.
timeseries-qc can generate a complete, self-contained HTML report with no external dependencies.
How do I generate a report?¶
Pass an output path to result.export_report() after running tsqc.check():
What does the report include?¶
The HTML report embeds the interactive timeline plus summary, issue, and timestamp-health tables.
- Quality Timeline — interactive Plotly chart
- Summary per Tag — good/suspect/bad percentages
- Issue Summary — contiguous bad/sus segments with durations
- Timestamp Health — gaps, duplicates, and other timestamp anomalies
Why is the report self-contained?¶
Plotly JavaScript and styles are embedded inline, so the file opens offline and is easy to email or archive.
- Plotly JavaScript is embedded (not loaded from CDN)
- All styles are inline
- No internet connection required to view
This makes it suitable for:
- Emailing to stakeholders
- Archiving in data management systems
- Sharing with teams that don't have Python access
How do I customize the report title?¶
Pass a title= string to export_report():
FAQ¶
Do recipients need Python or Plotly installed?¶
No. The HTML file is self-contained and opens in a browser without Python.
Does the report need internet access?¶
No. Plotly JS and styles are embedded; nothing is loaded from a CDN.
What sections are in the report?¶
Quality timeline, per-tag summary, issue summary, and timestamp health.
Can I set a custom title?¶
Yes. Use result.export_report("report.html", title="...").
How is this different from result.plot()?¶
plot() returns a Plotly figure for interactive use; export_report() writes a full HTML document with chart and tables.
Next Steps¶
- Visualization — customizing the timeline chart
- API Reference —
QCResult.export_report()documentation - User Guide — walkthrough with examples