Business Task:
- I have been given a data task that began with analyzing the
relationship between user behavior and device usage to enhance a
Bellabeat smart device. This analysis aims to provide insights for
improving the product. By exploring user demographics, device usage
patterns, and conducting sentiment analysis on user feedback.The goal is
to establish a continuous feedback loop, ensuring the device remains
user-friendly, accessible, and aligned with user preferences over
time.
# Loading 'tidyverse'
suppressMessages(library(tidyverse))
# Read the CSV file
suppressMessages(Data.Set <- read_csv('/cloud/project/daily_activity_clean.csv'))
# Displaying the first few rows of the data set
head(Data.Set)
## # A tibble: 6 × 6
## ID Steps Distance Distance_Activity Minutes Calories
## <chr> <dbl> <dbl> <dbl> <dbl> <dbl>
## 1 User-1 12117. 7.81 7.81 278. 1816.
## 2 User-2 5744. 3.91 3.91 168. 1483.
## 3 User-3 7283. 5.30 5.29 209. 2811.
## 4 User-4 2580. 1.71 1.70 117. 1573.
## 5 User-5 916. 0.635 0.634 40.7 2173.
## 6 User-6 11371. 8.08 8.08 313. 2510.
Data Sources:
- The data sources used for this analysis were files
“dailyActivity_merged.csv” and “sleepDay_merged.csv” from the FitBit
Fitness Tracker Data dataset on Kaggle.
Cleaning:
- The cleaning of data was done on SQL/BigQuiery and Google Sheets. I
first cleaned the dailyActivity_merged.csv data by averaging all of the
user’s data including calories, steps, daily activity and distance.
Big Query:

Excel more organizing:
Excel
Summary:
- While cleaning the data I noticed trends in users who were active
and burnt more calories where those who took more steps regardless of
the time or distance.
- The data revealed that the increased number of steps emerged as the
predominant factor influencing the burning of calories.
Recommendations:
- Promote taking more steps within shorter time intervals, as it
correlates with covering greater distances, could be daily or
weekly.
- Implement reminders to stay active even for a short amount of time,
aiming for larger average steps per day, week , or month.
- Develop step tracker rewards or intensives for certain steps being
taken, encouraging users to be more active.