Marathon Training Summary Application

Lynn Huang
March 5, 2017

Application Feature

This Application allows user to visulize his or her marathon training history.
The plot will display the weekly distance run.

The user can input the name of his or her marathon and year in which he or she trained.

Exploring the Data

viatraining<-read.csv("C:/Users/RetailAdmin/Documents/week4/via.csv",
stringsAsFactors = TRUE)
summary(viatraining)
      Week          Distance        X             X.1         
 Min.   : 1.00   Min.   :16.00   Mode:logical   Mode:logical  
 1st Qu.: 4.75   1st Qu.:32.62   NA's:16        NA's:16       
 Median : 8.50   Median :38.00                                
 Mean   : 8.50   Mean   :36.61                                
 3rd Qu.:12.25   3rd Qu.:44.48                                
 Max.   :16.00   Max.   :47.20                                

Plot of Weekly Distance Run

plot of chunk unnamed-chunk-2

Instruction How to Use the Application

  1. A spreadsheet containging two columns should be saved in .csv format and placed in a subdirectory named: specdata The first column is the week number, the second column is the total distance run in the week.
  2. In the text input box, user can type in his or her marathon name and year. This application summarizes the weekly mileague for a 16-week training plan.

  3. The R codes for ui.R and server.R and the data directory for the csv file are located in githup repository, https://github.com/mlynnhuang/ShinyProject