Skip to content

joshi-ji/stock-analysis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stock Analysis Dashboard

Stock Analysis Dashboard with R Shiny and Plotly. This dashboard allows users to analyze stock data. Powered with randomForest and caret for stock prediction.

Get Started

Prerequisites

  • R 4.2.3
  • RStudio

Setup Project

  1. Clone the repository
git clone https://github.com/mohits-git/r-project.git
  1. Open the project in RStudio

  2. Install the required packages

install.packages(c("shiny", "ggplot2", "dplyr", "shinydashboard", "plotly", "zoo", "caret", "randomForest", "conflicted", "rsconnect"))
  1. Run the app

Open run-r-projct.R in RStudio and click on Run App button

Deploy the app on shinyapps.io

  1. Create an account on shinyapps.io

  2. Install the rsconnect package

install.packages("rsconnect")
  1. Set .env variables (check .env.example)
RS_ACCOUNT_NAME=
RS_TOKEN=
RS_SECRET=
  1. Deploy the app

Open deployment.R in RStudio and run the full script

About

Stock Portfolio Analysis web application built with R Shiny

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%