Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mslinnea/getting-and-cleaning-data-course-project
Course Project for Getting and Cleaning Data
https://github.com/mslinnea/getting-and-cleaning-data-course-project
Last synced: 7 days ago
JSON representation
Course Project for Getting and Cleaning Data
- Host: GitHub
- URL: https://github.com/mslinnea/getting-and-cleaning-data-course-project
- Owner: mslinnea
- Created: 2014-11-17T17:30:06.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-17T18:06:15.000Z (about 10 years ago)
- Last Synced: 2024-11-09T04:44:11.825Z (2 months ago)
- Language: R
- Size: 133 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Getting and Cleaning Data Course Project
========================================## About the run_analysis.R script
### Requirements
This script requires the dplyr package.It also requires that you have already downloaded the data and unzipped it.
The data should be downloaded from:
https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zipIt should be unzipped so that the data is in a directory entitled "UCI HAR Dataset" which is in your working directory.
### How this Script Works
Datasets are loaded and combined so that all of the test and train data is in one dataframe. Also, the labels for each activity and the student identifiers are merged with this data set so that we can analyze the data based on student and activity.
To make summarizing the data easier, the data frame is converted to a local data frame using the dplyr package. Then the data is summarized into a tidy data set.
This script outputs a text file that can be read back into a data frame with "read.table("./summaryofdata.txt", header=TRUE)"