Project reports: share results as PDF, HTML or Markdown
A project report is your work written up for someone who will read it rather than redo it: the project's title and description, the data, and each result with its table, graph and explanation, in the order you did them. StatLab builds it from the Output pane, so there is nothing to copy and paste. You tick what goes in, see it as it will print, and download it as a PDF, a web page, a Markdown file, or a ZIP holding everything as separate files.
When to use it
- A supervisor, customer or auditor needs the results, not the project file.
- You present at a tollgate review or a weekly meeting and want one document with every result.
- You attach evidence to a deviation, an 8D report or a change request.
- You want a single graph or table for a slide or a spreadsheet.
- You keep a record of a study and want a copy that opens anywhere, years from now.
How it works
Choose File › Report…. The dialog lists what the report can hold, each with a check box, and shows the report next to the list as it will print.
- Cover: the title and description from File › Project details…, who prepared the work (the names that signed the results and notes, and yours), today's date and the project file's name.
- Data: the worksheet as a table. It starts unticked when the worksheet is large (more than 1,000 cells), and the report shows at most the first 500 rows; the full data stay in the project file and in the ZIP.
- Each analysis, with its own boxes for the table, the graph, the explanation in words (with a link to its Learn article) and the Python code. The code starts unticked.
- Notes, ticked, and messages such as imports, unticked.
Your choices and the paper size are saved with the project, so a coworker who opens your file gets the same report. Back to the defaults clears your choices.
The buttons at the bottom download the whole report:
| Button | What you get |
|---|---|
| Print… | Your browser's print dialog, which can also save a PDF. Pages are numbered. |
| A PDF file, with numbered pages, bookmarks for each section and links that work. | |
| Web page (HTML) | One file that opens in any browser, with graphs that stay sharp when you zoom. |
| Markdown | Plain text with tables, for wikis, Git repositories and notes apps. Graphs are embedded in the file. |
| Everything (ZIP) | The report in all three formats, each graph as SVG and PNG, each table as CSV, each script as a .py file, the data as CSV and the project file. |
The small buttons next to an item download just that piece: the data as CSV or Excel, a table as CSV or Excel, a graph as SVG (sharp at any size) or PNG (for slides), or the code as a Python script.
The paper size follows your region (Letter in the Americas and the Philippines, A4 elsewhere) unless you choose one.
Example
A quality technician measured the bore of 60 bushings from a CNC lathe and ran descriptive statistics on the diameters. Her Output pane holds an import message, the analysis, and a note from the shift lead: Bore is centered; check the air gauge next week.
She opens File › Report…. The preview shows the cover with the title Bore study, line 4, the data (one column of 60 values, ticked because it is small), the analysis with its table, summary plot and explanation, and the note. The import message is unticked, which is what she wants.
The plant manager reads reports on paper, so she unticks the data to keep the report to two pages and clicks PDF. The file bore-study-line-4.pdf lands in her Downloads folder, ready to attach to an email.
The process engineer wants to check the numbers in Python, so the technician ticks Python code under the analysis and clicks Everything (ZIP). The ZIP holds report.pdf, report.html and report.md, the summary plot as graphs/01-descriptive-statistics.svg and .png, the statistics table as tables/01-descriptive-statistics.csv, the script as code/01-descriptive-statistics.py, the full data as data/data.csv, and the project file. The engineer runs the script and gets the same mean, 20.006 mm.
For the weekly slide deck she downloads the summary plot alone as PNG with the small button next to Summary plot.
How to read the results
- The preview is the report. What you see next to the list is what the PDF, the web page and the printout show, page breaks aside.
- The cover's names come from the results and notes in the project. If a name is missing, that person did not fill in File › Project details… before adding their work.
- Numbers use your region's format: a decimal comma in Spanish-speaking regions, for example. CSV files use the matching separator, so a spreadsheet opens them correctly.
- Results that failed or are still running do not appear in the report; run them again first.
Common mistakes
- Sending the report when the reader needs the project. A report is a picture of the results. To let someone check or extend the work, send the project file (File › Download a copy to share), or the ZIP, which includes it.
- Leaving large data in a printed report. Hundreds of rows make a long PDF that nobody reads. Untick the data and attach the CSV from the ZIP instead.
- Forgetting the PDF's alphabet. The PDF uses fonts every reader has, which cover English, Spanish and other Western European languages. Text in other alphabets shows as
?in the PDF; the web page and Markdown versions show it correctly. - Reporting without reading. The explanations describe the numbers, not your process. Add a note with your own conclusion before you share the report.
Frequently asked questions
Is my data sent anywhere to make the PDF?
No. StatLab writes the PDF, the web page and the ZIP in your browser. Nothing is uploaded.
Can a coworker get the same report?
Yes. The choices you make in the Report dialog are saved in the project file. When a coworker opens it and chooses File › Report…, they see the same report, with any results they added.
Why is the data table cut at 500 rows?
A report is for reading, and a table of thousands of rows makes it hard to find the results. The full data are always in the project file and in data.csv inside the ZIP.
Which format should I choose?
PDF for email and printing, the web page for reading on screen and for languages outside Western Europe, Markdown for wikis and version control, and the ZIP when someone needs to reuse the graphs, tables or code.