example_report
example_report(dir='ezrsurvey-example', overwrite=False)Copy the worked example report into a folder.
Drops the package’s complete worked example next to your data: a full Quarto report over the bundled podracing_survey (every chart type, real narrative) plus the matching slide-deck script on the python-pptx path. Two files are copied: podracing-report.qmd (render with quarto render podracing-report.qmd) and podracing-deck.py (run with python podracing-deck.py; writes a 16:9 deck to ezrsurvey-outputs/). Unlike the blank scaffold_report() skeletons, the example ships finished narrative over the bundled data.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| dir | str | Destination folder. Default “ezrsurvey-example” in the working directory; created if missing. | 'ezrsurvey-example' |
| overwrite | bool | Overwrite existing files of the same names. Default False. | False |
Returns
| Name | Type | Description |
|---|---|---|
| list of str | The paths written. |
See Also
scaffold_report, report_deck
Examples
>>> import tempfile, os
>>> example_report(os.path.join(tempfile.mkdtemp(), "ezrsurvey-example"))