Course Project: Shiny Application and Reproducible Pitch

Isabel Méndez
09/28/2020

Introduction

The application provides the end-user seven characteristics that will allow him/her select the car that best fits to them. The application uses the mtcars database. This application helps the user to analyze better the cars.

The web application is hosted on the link below: https://isabelmendez.shinyapps.io/09282020/

Dataset Overview

To display that information, the application takes the data from the Motor Trend Car Road Tests available in the R library: mtcars

library("plotly")
library("data.table")
library("ggplot2")
data('mtcars')
summary(cars)
     speed           dist       
 Min.   : 4.0   Min.   :  2.00  
 1st Qu.:12.0   1st Qu.: 26.00  
 Median :15.0   Median : 36.00  
 Mean   :15.4   Mean   : 42.98  
 3rd Qu.:19.0   3rd Qu.: 56.00  
 Max.   :25.0   Max.   :120.00  

As this application uses 'mtcars' dataset from the 'datasets' package in R which lists down 10 aspects of automobile design and performance for 32 cars. As an excercise a code is performed:

Some embedded code

plot of chunk unnamed-chunk-2plot of chunk unnamed-chunk-2

Benefits

The user can select these options:

  • Distance
  • Displacement
  • Gasoline Price: that is linked to the table (column Gasoline_Expenditure). The calculation is performed by dividing the Distance between the MPG and then multiply it by the cost pero gallon.
  • Gross HorsePower
  • Number of cylinders
  • Transmission
  • Engine

Thank you