项目作者: yyanbintan

项目描述 :
Getting and cleaning data using UCI HAR Dataset
高级语言: R
项目地址: git://github.com/yyanbintan/Getting-and-Cleaning-Data.git
创建时间: 2020-12-05T03:23:45Z
项目社区:https://github.com/yyanbintan/Getting-and-Cleaning-Data

开源协议:

下载


Getting and Cleaning Data

This is my course project for the coursera course Getting and Cleaning Data.

Description of the project:

The purpose of this project is to demonstrate our ability to collect, work with, and clean a data set. The goal is to prepare tidy data that can be used for later analysis.

About UCI HAR (Human Activity Recognition Using Smartphones) Dataset

One of the most exciting areas in all of data science right now is wearable computing. Companies like Fitbit, Nike, and Jawbone Up are racing to develop the most advanced algorithms to attract new users. The data linked to from the course website represent data collected from the accelerometers from the Samsung Galaxy S smartphone.
A full description is available HERE and the dataset is downloaded from HERE.

Files in this repo:

  • CodeBook.md is the code book that describes my workflow for this project.
  • run_analysis.R is the R programming code that performs the workflow required in this project, which includes: -
    • Task 1 - Merges the training and the test sets to create one data set.
    • Task 2 - Extracts only the measurements on the mean and standard deviation for each measurement.
    • Task 3 - Uses descriptive activity names to name the activities in the data set
    • Task 4 - Appropriately labels the data set with descriptive variable names.
    • Task 5 - From the data set in step 4, creates a second, independent tidy data set with the average of each variable for each activity and each subject.
  • FinalData.txt is the final exported tidy data after going through the workflow above.