I'm excited to report that I've acquired yet another skill to add to my resume: Shiny.
If you haven't heard of this R extension, it's basically an amazing package that lets you turn your data into an interactive app. You can host your app as a webpage using RStudio's free server, or you can upload your package to Github, where anyone with Shiny installed in R can access it with a single line of code and an internet connection. Needless to say, I'm mega jazzed about the prospect of sharing my work interactively!
I started out with a quick practice run. I created a simple package that allows the user to adjust the mean tidal level of the Nisqually Delta and see how the resultant inundation curve changes accordingly.
If you want to check it out, all you have to do is install the Shiny package in RStudio and enter this line of code:
runGitHub("Dissertation_Chapter1", "davismj87", subdir="/Inundation/Inundation-app")
Unfortunately, I haven't gotten around to getting shinyapps.io to work yet. This is the server that lets you post your app as a webpage rather than having to run it directly out of R. A project for another day!
The tutorials I used are here:
https://shiny.rstudio.com/tutorial/
No comments:
Post a Comment