title: "Fitbit Analysis"

author: "Brandi Falls"

date: "7/10/2021"


Overview of Project

Bellabeat is a high-tech manufacturer of health-focused products for women. Bellabeat is a successful small company, but they have the potential to become a larger player in the global smart device. Analyzing smart device fitness data could help unlock new growth opportunities for the company market.


Step 1 - Ask

Business Task

The business task is to analyze Fitbit smart device usage data in order to gain insight into how consumers currently use their smart devices and to discover underlying trends that can be applied to Bellabeat products. This insight could help unlock new growth opportunities and the best marketing strategy to meet business growth goals.


Step 2 - Prepare

Description of the Dataset

We have used a public dataset that explores smart device users’ daily habits.

Name: FitBit Fitness Tracker Data (CC0 Public Domain) Link: https://www.kaggle.com/arashnic/fitbit

"This Kaggle data set contains personal fitness tracker from thirty fitbit users. Thirty eligible Fitbit users consented to the submission of personal tracker data, including minute-level output for physical activity, heart rate, and sleep monitoring. It includes information about daily activity, steps, and heart rate that can be used to explore users’ habits.

These datasets were generated by respondents to a distributed survey via Amazon Mechanical Turk between 03.12.2016-05.12.2016. Thirty eligible Fitbit users consented to the submission of personal tracker data, including minute-level output for physical activity, heart rate, and sleep monitoring. "

Limitations

ROCCC Validation of Dataset

Data Summary

Overall, this data may not be appropriate for conducting a full detailed analysis to meet the goal of the business. However, we will move forward with the data to uncover any insights.

Ideally, we would be having a sample size that is more representative of the whole population, at least 6 months of data from a more current year, and gendered data so that we can gain insight into the specific female trends.

Data Sensitivity

This is public data. No data was identified as sensitive and therefore we will not need to have Data anonymization / De-identification of any data. Also, there is no need to encrypt the data.

Setup Environment with Packages

Import Data

First Look

Observations from First Look


Step 3 - Process

Summary of Cleaning:

  1. Created new dataframes with simple names for easy reference
  2. Cleaned variable names (changed from PascalCase to snake_case)
  3. Checked for missing (NA/null) data
  4. Checked for duplicate data
  5. Stored and then removed duplicate data
  6. Renamed variables for consistency and joining
  7. Converted all Date variables from Character to Date
  8. Organized data by sorting by date
  9. Converted ID from Number to Character for display purposes
  10. Added a Day column to categorize data by days
  11. Added a Record Type variable for categorical purposes
  12. Performed a Set Difference between additional data to confirm all data was already present in the merged dataset DailyActivity

Step 4 - Analyze

Summary of Analysis Process

  1. Counted distinct participants in each dataframe
  2. Examined date ranges in each dataframe
  3. Merged dataframes
  4. Created an order for days of the week for visualizations
  5. Viewed summary statistics of each dataframe
  6. Analyzed percentages of manual vs automated activity logs
  7. Analyzed percentages of participants of each category

Step 5 - Share

Visualizations

Graphs Categorized by Weekday

Relationships and Trend Lines

Participation Graphs

Manual vs Automated Preferences

Time Lapse

Observations from Analysis

Participation

Weekday Analysis

Daily Sleep Activity

Daily Physical Activity

Coorelation between Physical and Sleep Activity

Weight Log Analysis

Manual vs Automated Logging


Step 6 - Act

Final Conclusions

Recommendations

To meet the goal to empower women with knowledge about their own health and habits, the following recommendations for marketing are to:

Create and Advertise

Next Steps