Data Repository

Vuthithorn Chinthammit

June 12, 2019

Screen Time Data

This dataset contains adminstrative data of the time I spent looking at iPhone from May3 - May 31, 2019. The data was collected through iPhone Screen Time setting. I manually record the time into spreadsheet each week and take an average for each day of the week.

The dataset includes the average screen time for each day of the week, week Day.

## 
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
## 
##     filter, lag
## The following objects are masked from 'package:base':
## 
##     intersect, setdiff, setequal, union

Steps Data

This dataset contains passive data on the number of steps I took from May3, 2019 to May31, 2019. The data was retreived through iPhone Health App with the “export” function. This data is only collected when iPhone is with me, so this is obviously an underestimation and we will treat those and negligable comparing to the steps when I have iPhone with me. The variables were collected: -Date, week Day, steps.

## -- Attaching packages ----------------------------------------------- tidyverse 1.2.1 --
## v tibble  2.1.1     v purrr   0.3.2
## v tidyr   0.8.3     v stringr 1.4.0
## v readr   1.3.1     v forcats 0.4.0
## -- Conflicts -------------------------------------------------- tidyverse_conflicts() --
## x dplyr::filter() masks stats::filter()
## x dplyr::lag()    masks stats::lag()
## 
## Attaching package: 'lubridate'
## The following object is masked from 'package:base':
## 
##     date
## 
## Attaching package: 'scales'
## The following object is masked from 'package:purrr':
## 
##     discard
## The following object is masked from 'package:readr':
## 
##     col_factor
## [1] "export.xml"     "export_cda.xml"
## $nameCounts
## 
##     Record ExportDate HealthData         Me 
##      14749          1          1          1 
## 
## $numNodes
## [1] 14752
## Date in ISO8601 format; converting timezone from UTC to "America/Los_Angeles".
##  Record.type            year              month          
##  Length:29          Length:29          Length:29         
##  Class :character   Class :character   Class :character  
##  Mode  :character   Mode  :character   Mode  :character  
##                                                          
##                                                          
##                                                          
##      day                 sum        
##  Length:29          Min.   : 2.037  
##  Class :character   1st Qu.: 4.453  
##  Mode  :character   Median : 5.354  
##                     Mean   : 5.779  
##                     3rd Qu.: 7.099  
##                     Max.   :11.239

Sleeping Data

The Sleep Cycle app collects how many hours I sleep per night, and record the sleep quality. It also see whether how much I snore or wake up at night. It is also record when I go to sleep and when I wake up in the morning. It is also see whether my sleeping quality affected by air pressure or the weather. However, for this experimental purpose, I decide to focus on sleeping quality and the amount of sleep I get per night.

## 
## Attaching package: 'chron'
## The following objects are masked from 'package:lubridate':
## 
##     days, hours, minutes, seconds, years
##         Start        End Sleep.quality Wake.up Sleep.Notes Heart.rate
## 1  2019-05-03 2019-05-04           71%      NA          NA          0
## 2  2019-05-04 2019-05-05           73%      NA          NA          0
## 3  2019-05-05 2019-05-06           75%      NA          NA          0
## 4  2019-05-06 2019-05-07           81%      NA          NA          0
## 5  2019-05-08 2019-05-08            0%      NA          NA          0
## 6  2019-05-09 2019-05-09            7%      NA          NA          0
## 7  2019-05-09 2019-05-10          100%      NA          NA          0
## 8  2019-05-10 2019-05-11          100%      NA          NA          0
## 9  2019-05-11 2019-05-11            4%      NA          NA          0
## 10 2019-05-11 2019-05-12           75%      NA          NA          0
## 11 2019-05-12 2019-05-13           77%      NA          NA          0
## 12 2019-05-13 2019-05-13            8%      NA          NA          0
## 13 2019-05-14 2019-05-15           88%      NA          NA          0
## 14 2019-05-15 2019-05-16           99%      NA          NA          0
## 15 2019-05-16 2019-05-17           86%      NA          NA          0
## 16 2019-05-17 2019-05-18           94%      NA          NA          0
## 17 2019-05-20 2019-05-21           95%      NA          NA          0
## 18 2019-05-21 2019-05-22           85%      NA          NA          0
## 19 2019-05-22 2019-05-23           78%      NA          NA          0
## 20 2019-05-23 2019-05-24           85%      NA          NA          0
## 21 2019-05-24 2019-05-25           99%      NA          NA          0
## 22 2019-05-25 2019-05-26           77%      NA          NA          0
## 23 2019-05-28 2019-05-29           92%      NA          NA          0
## 24 2019-05-29 2019-05-30           90%      NA          NA          0
## 25 2019-05-30 2019-05-31           90%      NA          NA          0
## 26 2019-05-31 2019-06-01           87%      NA          NA          0
##    Activity..steps. minutes
## 1                 0     481
## 2                 0     485
## 3                 0     511
## 4                 0     469
## 5                 0       0
## 6                 0      31
## 7                 0     495
## 8                 0     522
## 9                 0      20
## 10                0     451
## 11                0     522
## 12                0      37
## 13                0     500
## 14                0     504
## 15                0     500
## 16                0     509
## 17                0     520
## 18                0     510
## 19                0     508
## 20                0     492
## 21                0     497
## 22                0     447
## 23                0     528
## 24                0     464
## 25                0     483
## 26                0     463