October 3, 2016

Airbnb User Session Data

str(airbnb_data)
## 'data.frame':    7756 obs. of  20 variables:
##  $ id_visitor               : Factor w/ 630 levels "0331fa39-455f-4f47-9db2-18ce37ee90e4",..: 620 620 620 620 620 620 620 620 620 620 ...
##  $ dim_session_number       : int  83 84 85 86 87 88 89 1 2 3 ...
##  $ device                   : chr  "iPhone " "Desktop " "Desktop " "Desktop " ...
##  $ application              : chr  " iOS" " Chrome" " Chrome" " Chrome" ...
##  $ ts_min                   : POSIXct, format: "2015-02-16 21:50:41" "2015-02-18 11:57:15" ...
##  $ ts_max                   : POSIXct, format: "2015-02-16 22:13:42" "2015-02-18 12:12:48" ...
##  $ did_search               : int  0 0 0 0 0 0 0 0 0 1 ...
##  $ sent_message             : int  0 0 0 0 0 0 0 0 0 0 ...
##  $ sent_booking_request     : int  0 0 0 0 0 0 0 0 0 0 ...
##  $ next_dim_session_number  : int  84 85 86 87 88 89 NA 2 3 4 ...
##  $ next_device              : chr  "Desktop " "Desktop " "Desktop " "Desktop " ...
##  $ next_application         : chr  " Chrome" " Chrome" " Chrome" " Chrome" ...
##  $ next_ts_min              : POSIXct, format: "2015-02-18 11:57:15" "2015-02-18 13:02:13" ...
##  $ next_ts_max              : POSIXct, format: "2015-02-18 12:12:48" "2015-02-18 13:05:36" ...
##  $ next_did_search          : int  0 0 0 0 0 0 NA 0 1 1 ...
##  $ next_sent_message        : int  0 0 0 0 0 0 NA 0 0 0 ...
##  $ next_sent_booking_request: int  0 0 0 0 0 0 NA 0 0 0 ...
##  $ ts_total                 :Class 'difftime'  atomic [1:7756] 23 16 3 10 0 0 1 4 1 28 ...
##   .. ..- attr(*, "units")= chr "secs"
##  $ next_ts_total            :Class 'difftime'  atomic [1:7756] 16 3 10 0 0 1 NA 1 28 13 ...
##   .. ..- attr(*, "units")= chr "secs"
##  $ ts_weekday               : chr  "Monday" "Wednesday" "Wednesday" "Wednesday" ...

Histogram of session time

Does the device impact session time?

Do repeat users spend more time in a session?

Are repeat users with long sessions using a particular device?

Did users who used search spend more time in a session?

Does the day of the week impact session time?