After you have installed and loaded the package, simply run the command
ValUSunSSN::runExample('residuals' ) # or stations depending on what you want
and the application will appear in Rstudio.
Many ways to download and run it: ```R library(shiny)
runGitHub("Shiny_visual_app", "rstudio")
runUrl("https://github.com/proto4426/ValUSunSSN/tree/master/Shiny_visual_app/archive/master.tar.gz") runUrl("https://github.com/proto4426/ValUSunSSN/tree/master/Shiny_visual_app/archive/master.zip")
Or you can clone the git repository, then use `runApp()`:
```R
# First clone the repository with git. If you have cloned it into
# ~/shiny_example, first go to that directory, then use runApp().
setwd("~/Shiny_visual_app")
runApp()
To run a Shiny app from a subdirectory in the repo or zip file, you can use the subdir
argument. This repository happens to contain another copy of the app in inst/shinyapp/
.
runGitHub("Shiny_visual_app", "rstudio", subdir = "inst/shinyapp/")
runUrl("https://github.com/proto4426/ValUSunSSN/tree/master/Shiny_visual_app/archive/master.tar.gz",
subdir = "inst/shinyapp/")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.