cscheid / learnmedia-bikeshare

"Ingredients" for Posit's Learn Media Creator MeetUp Bakeoff Challenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use Quarto and Shiny Express to present bikeshare data

Prompt

The data files linked below contain data recently collected from the bikeshare programs of three cities:

  1. Austin, TX
  2. Chicago, IL
  3. Washington, DC
  • stations_info.arrow contains the locations and names of bikeshare stations
  • bikes_info.arrow records the number of bikes available at each station over time, as well as other variables. A smaller, back up substitute for this file is available in the data directory.

Use Quarto and/or Shiny Express to build a polished dashboard or app that presents this bikeshare data. Your dashboard or app might answer questions like:

  • How does bike capacity change over time?
  • Where are the available bikes at a given moment in time?
  • What does bikeshare capacity look like across the different cities?

Templates

This repository contains a set of Quarto and Shiny Express templates, which all feature the bikeshare data, to help you get started. Each template comes with a short guide that explains the coding concepts used with in the tempate.

You can build upon these templates, or just use them to get acquainted with Quarto and Shiny Express.

If you’d like to see the plots and tables contained in the templates as a plain jupyter notebook, open eda.ipynb file.

Installation

You’ll need Quarto 1.5 (pre-release build).

To create a python environment pre-provisioned to run the templates, run:

python -m venv venv
source venv/bin/activate
venv/bin/python3 -m pip install -r requirements.txt

There is also a Makefile in this repository, the setup target will create the venv for you. You can see the other targets with

make all

Alternatively, you can fork this repo and open it in GitHub Codespaces.

About

"Ingredients" for Posit's Learn Media Creator MeetUp Bakeoff Challenge


Languages

Language:Jupyter Notebook 99.6%Language:Python 0.4%Language:SCSS 0.0%Language:Makefile 0.0%