Personal Fitbit Data Explorer

Coursera JHU Data Science Specialization - Developing Data Products Project

Jody P. Abney

Presentation Goal

Application Description

screenshot

The Personal Fitbit Data Explorer allows a Fitbit user to review their step activity and selectively filter by year and days of week to observe patterns about their own personal activity behavior. The user can then make more informed decisions about their activity levels and change their behavior accordingly.

The application is available at Personal Fitbit Data Explorer

Fitbit Data Sample

Here is some of my personal Fitbit data processed for consumption in the Personal Fitbit Data Explorer data product

#### Read the data and format the data frame ####
fbdata <- as.data.frame(read.csv('data/fitbit_data.csv'))
fbdata <- fbdata[!(fbdata$steps==0),] # drop any days with 0 steps
fbdata$date <- as.Date(as.character(fbdata$date)) # format as a date field
fbdata <- fbdata[,-1,] # remove rowstamp column
head(fbdata, 5)
##         date steps   dayName year weekend
## 1 2012-04-24  8337   Tuesday 2012   FALSE
## 2 2012-04-25 10251 Wednesday 2012   FALSE
## 3 2012-04-26 11885  Thursday 2012   FALSE
## 4 2012-04-27  6099    Friday 2012   FALSE
## 5 2012-04-28  5384  Saturday 2012    TRUE

Results of Using Personal Fitbit Data Explorer

By using the Personal Fitbit Data Explorer data product only a short time, I learned the following about my own walking exercise patterns:

  • I've been walking more in general since purchasing the Fitbit and tracking my steps each day
  • I walk more on weekdays than weekends as evidenced when reviewing the data by Day of Week.
  • I walk more when I travel on business than I general walk when working from home.
  • Best of all, I've lost ~30 lbs since I've been working at increasing my activity levels such as number of steps per day!

Future versions of the app will:

  • Allow filtering or facet plotting by Weekday vs Weekend
  • Allow logging of calendar periods such as travel versus home
  • Allow the option to enter personal weight information or collecting weight information if the user has the data available via Fitbit or an alternative source.