For more information about installing and running
run_analysis.R
, click here.
Human Activity Recognition (HAR) database was built from the recordings of 30 subjects performing Activities of Daily Living (ADL) while carrying a waist-mounted smartphone with embedded inertial sensors.
The files described in this code book resulted from manipulations done on top of the UCI HAR dataset by the run_analysis.R
script.
For more information about the UCI HAR research, click here.
For more information about the UCI HAR dataset, click here.
- File Type : text
- Delimiter : white-space separated
- Header : yes
- Quoted Strings : yes
- Data Style : tidy data, summarized
Variable / Column | Domain | Description |
---|---|---|
activity | string, factor |
Activity performed by the subject: - WALKING - WALKING_UPSTAIRS - WALKING_DOWNSTAIRS - SITTING - STANDING - LAYING |
subject | integer, 1:30 |
Subject identification |
device | string, factor |
Instrument of the device from where the signals were obtained: - acc (Accelerometer) - gyr (Gyroscope) |
domain | string, factor |
Domain on which signals were obtained: - time (Time) - freq (Frequency) |
source | string, factor |
Source from where acceleration signal was collected: - body (Body) - grav (Gravity) - jerk (Body Jerk) |
axis | string, factor |
From which axis corresponds the signal obtained from the device's instrument: - x - y - z |
type | string, factor |
Type of value described in the Signal variable: - mean (Average) - std (Standard Deviation) |
avg_signal | double, -1:1 |
Average of the signals obtained when grouped by each of the variables above |
- File Type : text
- Delimiter : comma separated (.CSV)
- Header : yes
- Quoted Strings : yes
- Data Style : tidy data
Variable / Column | Domain | Description |
---|---|---|
activity | string, factor |
Activity performed by the subject: - WALKING - WALKING_UPSTAIRS - WALKING_DOWNSTAIRS - SITTING - STANDING - LAYING |
subject | integer, 1:30 |
Subject identification |
signal | double, -1:1 |
Average or standard deviation signal obtained from device's instrument |
device | string, factor |
Instrument of the device from where the signals were obtained: - acc (Accelerometer) - gyr (Gyroscope) |
domain | string, factor |
Domain on which signals were obtained: - time (Time) - freq (Frequency) |
source | string, factor |
Source from where acceleration signal was collected: - body (Body) - grav (Gravity) - jerk (Body Jerk) |
axis | string, factor |
From which axis corresponds the signal obtained from the device's instrument: - x - y - z |
type | string, factor |
Type of value described in the Signal variable: - mean (Average) - std (Standard Deviation) |
- File Type : text
- Delimiter : comma separated (.CSV)
- Header : yes
- Quoted Strings : yes
- Data Style : messy data; column headers are values, not variables
Variable / Column | Domain | Description |
---|---|---|
acc_time_body_x_mean | double, -1:1 |
Axis X, raw time-domain body acceleration signal (average), obtained from accelerometer |
acc_time_body_y_mean | double | Same as above but for axis Y |
acc_time_body_z_mean | double | Same as above but for axis Z |
acc_time_body_x_std | double | Same as above but for axis X and signal standard deviation |
acc_time_body_y_std | double | Same as above but for axis Y |
acc_time_body_z_std | double | Same as above but for axis Z |
acc_time_grav_x_mean | double | Axis X, raw time-domain gravity acceleration signal (average), obtained from accelerometer |
acc_time_grav_y_mean | double | Same as above for axis Y |
acc_time_grav_z_mean | double | Same as above for axis Z |
acc_time_grav_x_std | double | Same as above but for axis X and signal standard deviation |
acc_time_grav_y_std | double | Same as above for axis Y |
acc_time_grav_z_std | double | Same as above for axis Z |
acc_time_jerk_x_mean | double | Axis X, raw time-domain body jerk acceleration signal (average), obtained from accelerometer |
acc_time_jerk_y_mean | double | Same as above for axis Y |
acc_time_jerk_z_mean | double | Same as above for axis Z |
acc_time_jerk_x_std | double | Same as above but for axis X and signal standard deviation |
acc_time_jerk_y_std | double | Same as above for axis Y |
acc_time_jerk_z_std | double | Same as above for axis Z |
gyr_time_body_x_mean | double | Axis X, raw time-domain body acceleration signal (average), obtained from gyroscope |
gyr_time_body_y_mean | double | Same as above for axis Y |
gyr_time_body_z_mean | double | Same as above for axis Z |
gyr_time_body_x_std | double | Same as above but for axis X and signal standard deviation |
gyr_time_body_y_std | double | Same as above for axis Y |
gyr_time_body_z_std | double | Same as above for axis Z |
gyr_time_jerk_x_mean | double | Axis X, raw time-domain body jerk acceleration signal (average), obtained from gyroscope |
gyr_time_jerk_y_mean | double | Same as above for axis Y |
gyr_time_jerk_z_mean | double | Same as above for axis Z |
gyr_time_jerk_x_std | double | Same as above but for axis X and signal standard deviation |
gyr_time_jerk_y_std | double | Same as above for axis Y |
gyr_time_jerk_z_std | double | Same as above for axis Z |
acc_freq_body_x_mean | double | Axis X, raw frequency-domain body acceleration signal (average), obtained from accelerometer |
acc_freq_body_y_mean | double | Same as above for axis Y |
acc_freq_body_z_mean | double | Same as above for axis Z |
acc_freq_body_x_std | double | Same as above but for axis X and signal standard deviation |
acc_freq_body_y_std | double | Same as above for axis Y |
acc_freq_body_z_std | double | Same as above for axis Z |
acc_freq_jerk_x_mean | double | Axis X, raw frequency-domain body jerk acceleration signal (average), obtained from accelerometer |
acc_freq_jerk_y_mean | double | Same as above for axis Y |
acc_freq_jerk_z_mean | double | Same as above for axis Z |
acc_freq_jerk_x_std | double | Same as above but for axis X and signal standard deviation |
acc_freq_jerk_y_std | double | Same as above for axis Y |
acc_freq_jerk_z_std | double | Same as above for axis Z |
gyr_freq_body_x_mean | double | Axis X, raw frequency-domain body acceleration signal (average), obtained from gyroscope |
gyr_freq_body_y_mean | double | Same as above for axis Y |
gyr_freq_body_z_mean | double | Same as above for axis Z |
gyr_freq_body_x_std | double | Same as above but for axis X and signal standard deviation |
gyr_freq_body_y_std | double | Same as above for axis Y |
gyr_freq_body_z_std | double | Same as above for axis Z |
activity | string, factor |
Activity performed by the subject: - WALKING - WALKING_UPSTAIRS - WALKING_DOWNSTAIRS - SITTING - STANDING - LAYING |
By feamcor.