Quarto Workshop

DataFest! Spring 2025

Pete Benbow

Davidson College
Department of Data Science

2025-04-04

Accessing these slides

Go to:

https://pebenbow.github.io/datafest-quarto/

About Me

  • Pete Benbow (“BEN-bo”; he/him)
  • A.B., Davidson College (2007): Political Science
  • 12+ years working in data engineering and data science in the private sector + higher education
  • Courses taught:
    • CSC 110: Data Science & Society
    • DAT 153: Database Programming
    • DAT 211: Data Integration & Analytics

What is Quarto?

What is Quarto?

Quarto is a publishing framework, not all that different from R Markdown and Python notebooks, that allows you to blend text content with code cells, data visualizations, and other content, and produce a full-fledged, interactive product.

It supports coding in R, Python, SQL, Julia, ObservableJS, and more!

Why use Quarto?

  • Can be used to write books, blogs, reports, etc.
  • Can be used to present your DataFest project!
  • Can be used to build websites that showcase your data science projects to employers!
  • Can be used to produce academic papers via LaTeX (including templates for specific journals like JASA!)

Goals of this workshop

  • Learn how to use Quarto with Python and R to create websites
  • Learn how to deploy a Quarto website using GitHub Pages

Workshop time!

Go to https://go.davidson.edu/datafest-quarto

Forking this repo

  1. Go to https://github.com/pebenbow/datafest-quarto

Forking this repo

  1. Open the “Fork” menu in the upper-right corner and create new fork

Forking this repo

Setting up GitHub Pages

  1. Go to Settings >> Pages

Setting up GitHub Pages

  1. Pick your branch and “docs” subfolder, then Save!

Setting up GitHub Pages

  1. Once your site is live, you’ll see a link!