Skip to content

hsma-programme/h6_7c_web_apps_2

Repository files navigation

HSMA 6 - Session 7C - Web Apps Part 2

Instructions if running from Github codespaces

To run in github spaces, choose 'use this template' --> 'open in codespace'

This will only appear if you are logged into a Github account

Learning Objectives

At the end of this session, students should be able to:

  • Build a web app frontend for a simpy discrete event simulation
  • Improve the user experience for apps with lots of inputs by using a run button to control execution
  • Split apps into multiple pages
  • Split app code and model code into separate files
  • Apply a custom colour theme and logo to an app
  • Import a custom css file to apply further theming
  • Improve app performance with data caching and partial reruns (fragments)
  • Use session state to persist information across multiple runs or pages
  • Upload an app to the Streamlit community cloud

Slides

Google Slides - Click here to view slides for this session

Book

Book - Click here to view the relevant HSMA book

Data Sources

Penguins

Size measurements, clutch observations, and blood isotope ratios for 344 adult foraging Adélie, Chinstrap, and Gentoo penguins observed on islands in the Palmer Archipelago near Palmer Station, Antarctica. Data were collected and made available by Dr. Kristen Gorman and the Palmer Station, Antarctica Long Term Ecological Research (LTER) Program.

Data are available by CC-0 license in accordance with the Palmer Station LTER Data Policy and the LTER Data Access Policy for Type I data.

Imported via the palmerpenguins package, created by Muhammad Chenariyan Nakhaee.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published