Developing Data Products Shiny App Presentation

Caroline Z
Nov 19, 2016

Assignment Description

This presentation is an assignment for Coursera's Developing Data Products class in the Data Science Specialization. It is designed to teach two skills:

  • Shiny for web app development
  • R-Presentation for interactive slides

More information on the course is available at https://www.coursera.org/learn/data-products.

The Dataset

This Shiny app is based on Airbnb's User Pathways dataset. The data is a sample representing user sessions on the Airbnb site in the past year in a US city. It tracks the activities that users took in each session (did search, sent message, sent booking request). User sessions can be long, lasting over 10 hours, and a user can intiate many different sessions.

Here are the basic facts about the dataset:

  • Number of records in data: 7756
  • Date span of the data: ['2014-05-05', '2015-04-23']
  • Number of unique users in data: 630
  • Number of unique sessions in data: 7756
  • Mean session duration: 11 minutes
  • Percent of sessions with search: 15.9%
  • Percent of sessions with sent message: 16.5%
  • Percent of sessions with booking request: 1.9%

It is available for download at http://databits.io/challenges/airbnb-user-pathways-challenge.

The Application

The Shiny app built on this dataset allows the user to visualize when users take different actions, both in terms of the duration of a session (X axis) and the session number (Y axis), broken down by device type (color).

The app includes:

  • A menu allowing users to select the device (desktop, phone, etc.) and the user action of interest.
  • A scatterplot of the measures specified in the menu
  • A documentation tab

Sample Plot

plot of chunk unnamed-chunk-1

Explore

You can use the app yourself by visiting: https://carozimm.shinyapps.io/Airbnb_user_pathways/.