getdata006proj
This for the class project for the Getting and Cleaning Data course on Coursera
Science Score: 18.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.9%) to scientific vocabulary
Repository
This for the class project for the Getting and Cleaning Data course on Coursera
Basic Info
- Host: GitHub
- Owner: shockguy
- Language: R
- Default Branch: master
- Size: 156 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
getdata006proj
This README provides a description of the script created to satisify the 5 steps of data cleaning and wrangling needed for the class project. This is for the class project for the Getting and Cleaning Data course on Coursera.
It is a single script call run_analysis.R. This is the name specified in the instructions. The script reads in data from a motion capture study. This data is broken up into various components that make it difficult to work with, i.e. it is not "tidy".
The script reads in all the origional data components, merges them into a single data frame, and assigns descriptive column names to each of the data columns. For the most part the data columns use the names from the original codebook. These could be more clearly "descriptive", but there was a desire to conform to the original names so for the sake of consistency so downstream others could work backwards to the origin of the data if necessary. Note that the data is in a directory called "dataset", which should reside in the script working directory. I chose to "dataset" because the directory the zip created for the data was too messy for my tastes.
The script writes out 2 files using write.table. The format is CSV, which is not in the instructions, but it what I like working with, and there really is not down side, other than a few extra bytes.
The file part2_data.txt has the extracted "mean" and "std" variables, along with the activity and subject columns. Writing this out was not in the instructions for the project, but I saw no reason to create it if not to save it and use if for something. This file has descriptive column names, and is "tidy."
The file project_upload.txt is the file requested in Step 5 of the instructions. It is the average of all the variables of the complete data set, per activity and subject. This columns are descriptive, having "avg-" prepended to the original variable descriptors from the original code book.
Please see the codebook.txt file for specific info on the descriptive column names for the variables and info on the origins of the data.
Owner
- Login: shockguy
- Kind: user
- Repositories: 21
- Profile: https://github.com/shockguy
Citation (citations.txt)
Discussion on the subjectiviity of the final dataset in forums Title: David's project FAQ Heading: what columns are measurements on the mean and standard deviation link: https://class.coursera.org/getdata-007/forum/thread?thread_id=49 Title: Clarification of step 5 Heading: Response from TA Mario Ibanez Link:https://class.coursera.org/getdata-007/forum/thread?thread_id=42#post-97