author: dnafrance
date: 26 October 2014
This is an RStudio shiny application developed as a course project for Coursera's Developing Data Products course in the Data Science Specialization track.
The application developed is a simple interest calculator.
The course project requirements for this application are:
The shiny application for this project is a simple interest calculator.
It includes 4 widgets:
To prevent undue distraction, the reactivity of the shiny application widgets is controlled by using an actionButton. Based on user inputs, and using the simple interest calculation equation, the application displays:
1. Inputs entered by the user
2. Calculated values
a. Simple interest calculated
b. Total amount calculated as principal plus interest
The simple interest calculation equation is:
A = P + I = P(1 + rt) ; R = r * 100
where:
A = Total amount (Principal + Interest), P = Principal amount, I = Interest amount, r = Rate of interest per year, in decimal; r=R/100, t = Time period invested in years/quarters/months
Even though it is a simple application, to make it easy for the novice user, the Documentation tab in the mainPanel of the application lists the details of the calculation of simple interest.
Try out the application on the RStudio shinyapps.io website:
https://dnafrance.shinyapps.io/devdatapdt/
To see the code for the application, visit github website:
https://github.com/dnafrance/DevDataPdt
Useful files in repo:
server.Rui.RTo execute the application and see the code in action, use:
runApp(displayMode = 'showcase')