How to Generate Analytics Reports (pdfs) in Python! (Quarto Tutorial) @KeithGalli
How to Generate Analytics Reports (pdfs) in Python! (Quarto Tutorial)  @KeithGalli
Uploaded September 2024 | Updated November 2026, 3 hours ago
Show off your data skills! Deploy Shiny, Streamlit, Quarto, and more—all in one place with Posit Connect Cloud. Get started for free: https://pos.it/connect-keith

In this video we learn how to generate analytic report PDFs in Python using the Quarto library. Quarto allows you to write markdown with embedded code and many customization options to easily generate PDF reports, slideshow presentations, and HTML dashboards.

Link to code:
github.com/KeithGalli/country-analytics

Check out David Keyes & the R for the Rest of Us presentation at Posit Conference (there is a free option to sign up to see conference presentations -- the video will be on YouTube soon):
reg.conf.posit.co/flow/posit/positconf24/publiccatalog/page/publiccatalog/session/1712004041983001s1h4

Thank you to DYce for music:
instagram.com/agodnameddyce?utm_source=ig_web_button_share_sheet&igsh=ZDNlZDc0MzIxNw==

----------

Video timeline!
0:00 - What we're building in this video
1:16 - Quarto Installation & setup
6:35- Adding Python code & code output to our reports
11:03 - Specifying the project output directory where reports are rendered to (_quarto.yml)
13:02 - Render output files from the command line (quarto render)
13:53 - Generating more fancy and stylized reports (county-analytics-report.qmd)
16:00 - Modifying parameters/variables/metadata when you render different reports (from command line)
21:45- Generate hundreds of analytics reports from a single script!
23:09 - Deep dive into how the code works & formatting
28:17 - Project Extension Ideas

-------------------------
Follow me on social media!
Instagram | instagram.com/keithgalli
Twitter | twitter.com/keithgalli
TikTok | tiktok.com/@keithgalli

-------------------------
Learn data skills with hands-on exercises & tutorials at Datacamp!
datacamp.pxf.io/c/3588040/1012793/13294

Practice your Python Pandas data science skills with problems on StrataScratch!
stratascratch.com/?via=keith

Join the Python Army to get access to perks!
YouTube - youtube.com/channel/UCq6XkhO5SZ66N04IcPbqNcw/join
Patreon - patreon.com/keithgalli

*I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links.
How to Generate Analytics Reports (pdfs) in Python! (Quarto Tutorial)How to make your GitHub more impressive to Employers! (5 simple tips)Why Should you Learn Python? - Simple Installation & Setup for Windows, Mac, & Linux!How to Program Connect 4 in Python! (part 3) - Background GraphicsCreate Time Series Animations in Python with Matplotlib! (Line Graphs)How to win at Othello: Corner & Edge StrategiesFull Python Portfolio Project! Create a smart program to download & transcribe top podcasts.How to Program Connect 4 in Python! (part 1) -  Basic Structure & Game LoopHow to Generate an Analytics Report (pdf) in Python!Python Data Science Project Ideas! (for all skill levels)Keith Galli Live StreamGenerating Mock Data with Python! (NumPy, Pandas, & Datetime Libraries)
Keith Galli |

How to Generate Analytics Reports (pdfs) in Python! (Quarto Tutorial)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER