Course Project: Shiny Application and Reproducible Pitch

author: Leandro Freitas date: SET/14/2017 autosize: true

Overview

Coursera - Data Science Specialization - Developing Data Products

This was built as the project’s second part for the course Developing Data Products (part of the Coursera Data Science Specialization).

The application is avalilable at: https://leandreitas.shinyapps.io/data_product_longley/

The source code for ui.R and server.R files are available at: https://github.com/leandreitas/data_product

Web App Functinality

Based on the Longley’s Economic Regression Dataset (see slide 4), it possible to select one of the variables, generate a linear relationship to the other variables and plot it:

Where X is the selected variable.

Plot

Example using “GNP.deflator”:

plot of chunk unnamed-chunk-1

plot of chunk unnamed-chunk-1

Longley’s Economic Regression Data

A macroeconomic data set which provides a well-known example for a highly collinear regression.

A data frame with 7 economical variables, observed yearly from 1947 to 1962 (n=16).

More details at: https://stat.ethz.ch/R-manual/R-devel/library/datasets/html/longley.html