Prep4PrEP

an educational Shiny App on PrEP

Sam Parmar
2 min readMay 14, 2021
Photo by Bud Helisson on Unsplash

Quick post: Thought of this idea a few weeks back. Had some time after work yesterday and today. PrEP is a medicine people at risk of HIV take to prevent getting HIV from sex or injection drug use. The main aim of the app is to educate folks on PrEP for HIV prevention.

In the process of building the Shiny app yesterday evening, I found out about the Greater than AIDS public information response from KFF. They already have a very educational website on many different topics from PrEP to testing. Nevertheless, I thought it would be a valuable exercise to build a relatively simple Shiny app around their resources, in hopes that their content gets more views. Embedded videos from their YouTube channel in combination with the PrEP locator widget from CDC’s NPIN. Used shiny, bslib, and vembedr R packages.

Consider this the second of my App in a Week blog series. Hope to encourage readers to go out and build an app. It’s easier than ever with R Shiny and a few other packages.

  • Github repo with source code (app.R) is here.
  • Deployed app on ShinyApps.io here.
  • Previous article post where I built a workout plan app in the series below.

Sources

--

--