Interactive apps
These are a list of some of the interactive web apps I’ve made. This is mainly for my own reference (e.g. I want to pull up the web app but can’t recall the URL), but I’ve provided a short explanation for each project next to each link (in case you’re stumbling across this)
Table of Contents
WVU Medicine Distance Calculator
This app allows you to enter a patient’s location (city or zipcode, don’t enter any PHI) and calculates which WVU Medicine facilities are closest to them. It will also find the drive times to Ruby and/or the nearest non-critical access hospital (if applicable).
I made it for personal reasons: I don’t know the geography of WV very well, so I don’t want to look uninformed when I ask patients where they live as part of the social history. But it’s also helpful for when we sign off and need to arrange clinic follow up. An in-person visit is reasonable if they live 30 minutes away, but if they live 2-3 hours away, maybe we should try to coordinate with their post-op visit (or do telemedicine).
The app is quite slow, because it uses MapBox’s API and I enforced some heavy limitations. Since MapBox doesn’t allow setting a cap on their API calls (so left unchecked it could run up a bill), I had to do something to make sure I didn’t get a surprise bill. To do this, I have the app log all the API calls in Google Sheets; when the app loads, it reads through the log and predicts if I’m going to run over for the month (in which case, it withholds the API key). Hopefully they make a better solution in the future, but for now it works.
Bayes theorem & predictive values
I’m a big nerd when it comes to pretest probability and clinical reasoning. But despite my love of statistics, I still find Bayesian thinking to be unintuitive at times.
I made this Shiny app to demonstrate the counterintuitive nature of Bayes theorem, particularly when it comes to how prevalence affects positive predictive value.
Healthy Relationships Text Campaign
I made this app when I was working on the Healthy Relationship Text Campaign (HRTC) to reduce teen dating violence. This is a pretty detailed app showing the results of the campaign (and allowing users to filter results)
Texas Health Professionals Map
This was the first Shiny app that I made. I can’t remember why I did it, but it’s a cool example of using interactive maps
PSPS Medicare Data
I made this app when I was exploring CMS data (Physician/Supplier Procedure Summary). It allows you to explore HCPCS codes, provider specialties, etc. Unfortunately the project didn’t come to fruition…