Getting Started - bri-thetechie/TSA GitHub Wiki

Prerequisites

  • R: Ensure you have R (version 4.0 or higher) installed. You can download it from The R Project for Statistical Computing.

  • RStudio (Recommended): While not strictly required, RStudio provides a user-friendly environment for working with R and Shiny. You can download it from RStudio.

  • Required R Packages: Before running the apps, you need to install the necessary R packages. Open your R console or RStudio and run the following command:

    install.packages(c("shiny", "shinythemes", "ggplot2", "forecast", "tseries", "readxl", "plotly", "lmtest", "nortest", "TTR", "tools", "uroot", "quantmod", "rugarch", "shinyWidgets"))
    

Running the Applications

Automated Time Series Analysis Dashboard (app1.R):

  1. Clone or download this repository to your local machine.
  2. Open the app1.R file in R or RStudio.
  3. Run the Shiny application using one of the following methods:
    • In RStudio: Click the "Run App" button in the top right corner of the script editor.
    • In the R console: Navigate to the directory containing app1.R and run the command shiny::runApp('app1.R').
  4. A web browser window will open with the application.

Advanced Time Series Analysis Dashboard (app2.R):

  1. Follow the same steps as above, but open and run the app2.R file instead.

Using the Apps

Basic usage instructions are provided within each application. Refer to the "Automated App Guide" and "Advanced App Guide" for more detailed explanations of their features.