Reproducible Pitch Presentation for Coursera Developnig Data Products

Peter Varga
11 March 2019

The Chatterjee Price Attitude Data

From a survey of the clerical employees of a large financial organization, the data are aggregated from the questionnaires of the approximately 35 employees for each of 30 (randomly selected) departments. The numbers give the percent proportion of favourable responses to seven questions in each department.

  • Overall rating
  • Handling of employee complaints
  • Does not allow special privileges
  • Opportunity to learn
  • Raises based on performance
  • Too critical
  • Advancement

For more details https://stat.ethz.ch/R-manual/R-devel/library/datasets/html/attitude.html.

Slide With Code

head(attitude[,1:4])
  rating complaints privileges learning
1     43         51         30       39
2     63         64         51       54
3     71         70         68       69
4     61         63         45       47
5     81         78         56       66
6     43         55         49       44

Plot of Ovarall Rating versus Complaints

plot of chunk unnamed-chunk-2

Shiny application

In the Shiny application the user can choose which should be the variable on the x axis.

link to the Shiny application: https://petervarga73.shinyapps.io/DDPCourseProject/

link to github for server.R and ui.R: https://github.com/PeterVarga73/developingdataproductsweek4

Thank you!