This shiny application predicts Apple's net income based from the number of sold iPhone and Macs. Income prediction is based from Apple's SEC 10K data from 2005 to 2016. To view this app in action: https://noeltemena.shinyapps.io/predicting_apple_income_ii/
ui.R: Shiny/R code for the input and output
server.R: Shiny/R code to process input and small financial data
apple.csv : Compiled data taken from Apple's 10K form. link: http://investor.apple.com/sec.cfm
I have intentionally excluded other Apple revenue stream ( i.e. itunes, ipads, icloud ) to show only positive trendlines.
To view the manual for using the application: https://rpubs.com/noeltemena/appleincome