Generating PDF Analytics Reports in Python: A Quarto Tutorial

Learn how to create analytics reports in PDF format using Python and Quarto. Showcase your data skills by deploying with tools like Shiny, Streamlit, and Quarto through Posit Connect Cloud. Get started for free at https://pos.it/connect-...

Generating PDF Analytics Reports in Python: A Quarto Tutorial
Keith Galli
22.0K views β€’ Sep 23, 2024
Generating PDF Analytics Reports in Python: A Quarto Tutorial

About this video

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:
https://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):
https://reg.conf.posit.co/flow/posit/positconf24/publiccatalog/page/publiccatalog/session/1712004041983001s1h4

Thank you to DYce for music:
https://www.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 | https://www.instagram.com/keithgalli/
Twitter | https://twitter.com/keithgalli
TikTok | https://tiktok.com/@keithgalli

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

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

Join the Python Army to get access to perks!
YouTube - https://www.youtube.com/channel/UCq6XkhO5SZ66N04IcPbqNcw/join
Patreon - https://www.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.

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

22.0K

Likes

681

Duration

31:23

Published

Sep 23, 2024

User Reviews

4.6
(4)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.