google-playstore
apps
reviews
Final Project for DACSS 601 W24
Author

Rohan Lekhwani

Published

January 30, 2024

Code
library(tidyverse)
library(readxl)
library(here)
library(dplyr)
library(viridis)
library(khroma)

knitr::opts_chunk$set(echo = TRUE, warning=FALSE, message=FALSE)

Reading the Data

The working directory for RStudio has been set such that “googleplaystore.csv” can be found at the root of the working directory using the setwd() method.

Code
# Reading the dataset in a dataframe
googleplaystore_orig <- read_csv(here("googleplaystore.csv"))
googleplaystore_orig
# A tibble: 10,841 × 13
   App       Category Rating Reviews Size  Installs Type  Price `Content Rating`
   <chr>     <chr>     <dbl>   <dbl> <chr> <chr>    <chr> <chr> <chr>           
 1 Photo Ed… ART_AND…    4.1     159 19M   10,000+  Free  0     Everyone        
 2 Coloring… ART_AND…    3.9     967 14M   500,000+ Free  0     Everyone        
 3 U Launch… ART_AND…    4.7   87510 8.7M  5,000,0… Free  0     Everyone        
 4 Sketch -… ART_AND…    4.5  215644 25M   50,000,… Free  0     Teen            
 5 Pixel Dr… ART_AND…    4.3     967 2.8M  100,000+ Free  0     Everyone        
 6 Paper fl… ART_AND…    4.4     167 5.6M  50,000+  Free  0     Everyone        
 7 Smoke Ef… ART_AND…    3.8     178 19M   50,000+  Free  0     Everyone        
 8 Infinite… ART_AND…    4.1   36815 29M   1,000,0… Free  0     Everyone        
 9 Garden C… ART_AND…    4.4   13791 33M   1,000,0… Free  0     Everyone        
10 Kids Pai… ART_AND…    4.7     121 3.1M  10,000+  Free  0     Everyone        
# ℹ 10,831 more rows
# ℹ 4 more variables: Genres <chr>, `Last Updated` <chr>, `Current Ver` <chr>,
#   `Android Ver` <chr>

Dataset Description

High Level Description

The data set comprises of 10841 rows with 13 columns.

Code
# Preview of the dataset
googleplaystore_orig
# A tibble: 10,841 × 13
   App       Category Rating Reviews Size  Installs Type  Price `Content Rating`
   <chr>     <chr>     <dbl>   <dbl> <chr> <chr>    <chr> <chr> <chr>           
 1 Photo Ed… ART_AND…    4.1     159 19M   10,000+  Free  0     Everyone        
 2 Coloring… ART_AND…    3.9     967 14M   500,000+ Free  0     Everyone        
 3 U Launch… ART_AND…    4.7   87510 8.7M  5,000,0… Free  0     Everyone        
 4 Sketch -… ART_AND…    4.5  215644 25M   50,000,… Free  0     Teen            
 5 Pixel Dr… ART_AND…    4.3     967 2.8M  100,000+ Free  0     Everyone        
 6 Paper fl… ART_AND…    4.4     167 5.6M  50,000+  Free  0     Everyone        
 7 Smoke Ef… ART_AND…    3.8     178 19M   50,000+  Free  0     Everyone        
 8 Infinite… ART_AND…    4.1   36815 29M   1,000,0… Free  0     Everyone        
 9 Garden C… ART_AND…    4.4   13791 33M   1,000,0… Free  0     Everyone        
10 Kids Pai… ART_AND…    4.7     121 3.1M  10,000+  Free  0     Everyone        
# ℹ 10,831 more rows
# ℹ 4 more variables: Genres <chr>, `Last Updated` <chr>, `Current Ver` <chr>,
#   `Android Ver` <chr>

The dataset has a total of 11 <chr> type columns and the remaining columns are of the <dbl> type. Each observation pertains to a single app. The following are the descriptions of each of the variables in the dataset:

  • The App variable lists the name of the app under observation.
  • The Category variable consists of the category the app under observation is grouped into.
  • The Rating variable lists the rating of the app on the Google Play Store.
  • The Reviews variable represents the number of user reviews the app received on the Google Play Store.
  • The Size variable consists of the size of the app (either in KB, MB or varying by device).
  • The Installs variable marks the number of devices the app is installed on.
  • The Type variable lists whether an app is “Free” or “Paid”.
  • The Price variable marks the price of the app if the Type is “Paid” and 0 for “Free” apps.
  • The Content Rating variable mentions the suitable user group the app targets.
  • The Genres variable represents which genre the app falls under. This is similar to the Category variable. An app can belong to multiple genres (apart from its main category). For eg, a musical family game will belong to Music, Game, Family genres.
  • The Last Updated variable enlists the date on which the latest update was published on the Google Play Store.
  • The Current Ver variable marks the current published version of the app.
  • The Android Ver variable lists the target Android version of the device the app will work on.

How was the Data likely collected?

The dataset is a published Kaggle dataset. It has been collected by web-scraping Google Playstore listings in 2018. The detail page for an app on the Google Playstore provides all of the information about the app which the dataset is built out of.

The following query gives the total apps under each category:

Code
# Number of Apps for each Category
googleplaystore_orig %>% 
  group_by(Category) %>%
  summarize(total_apps = n()) %>%
  arrange(desc(total_apps))
# A tibble: 33 × 2
   Category        total_apps
   <chr>                <int>
 1 FAMILY                1972
 2 GAME                  1144
 3 TOOLS                  844
 4 MEDICAL                463
 5 BUSINESS               460
 6 PRODUCTIVITY           424
 7 PERSONALIZATION        392
 8 COMMUNICATION          387
 9 SPORTS                 384
10 LIFESTYLE              382
# ℹ 23 more rows

We see that the “FAMILY” category has the most number of apps published in the dataset.

Tidying the Data

Remove Duplicates

The dataset has 10841 observations and 13 variables. However, the dataset seems to contain duplicates as seen using the below query.

Code
# Number of distinct rows in the original dataset
n_distinct(googleplaystore_orig)
[1] 10358

The following query de-duplicates the dataset based on matching rows

Code
# De-duplicating the dataset
googleplaystore_orig %>% distinct()
# A tibble: 10,358 × 13
   App       Category Rating Reviews Size  Installs Type  Price `Content Rating`
   <chr>     <chr>     <dbl>   <dbl> <chr> <chr>    <chr> <chr> <chr>           
 1 Photo Ed… ART_AND…    4.1     159 19M   10,000+  Free  0     Everyone        
 2 Coloring… ART_AND…    3.9     967 14M   500,000+ Free  0     Everyone        
 3 U Launch… ART_AND…    4.7   87510 8.7M  5,000,0… Free  0     Everyone        
 4 Sketch -… ART_AND…    4.5  215644 25M   50,000,… Free  0     Teen            
 5 Pixel Dr… ART_AND…    4.3     967 2.8M  100,000+ Free  0     Everyone        
 6 Paper fl… ART_AND…    4.4     167 5.6M  50,000+  Free  0     Everyone        
 7 Smoke Ef… ART_AND…    3.8     178 19M   50,000+  Free  0     Everyone        
 8 Infinite… ART_AND…    4.1   36815 29M   1,000,0… Free  0     Everyone        
 9 Garden C… ART_AND…    4.4   13791 33M   1,000,0… Free  0     Everyone        
10 Kids Pai… ART_AND…    4.7     121 3.1M  10,000+  Free  0     Everyone        
# ℹ 10,348 more rows
# ℹ 4 more variables: Genres <chr>, `Last Updated` <chr>, `Current Ver` <chr>,
#   `Android Ver` <chr>

However, this does not solve for the edge case where app names are duplicates:

Code
# Even after de-duplicating same rows there exists duplicate Apps
googleplaystore_orig %>% 
  distinct() %>%
  select(App, Category, Rating, Reviews) %>%
  arrange(desc(Reviews))
# A tibble: 10,358 × 4
   App                                      Category      Rating  Reviews
   <chr>                                    <chr>          <dbl>    <dbl>
 1 Facebook                                 SOCIAL           4.1 78158306
 2 Facebook                                 SOCIAL           4.1 78128208
 3 WhatsApp Messenger                       COMMUNICATION    4.4 69119316
 4 WhatsApp Messenger                       COMMUNICATION    4.4 69109672
 5 Instagram                                SOCIAL           4.5 66577446
 6 Instagram                                SOCIAL           4.5 66577313
 7 Instagram                                SOCIAL           4.5 66509917
 8 Messenger – Text and Video Chat for Free COMMUNICATION    4   56646578
 9 Messenger – Text and Video Chat for Free COMMUNICATION    4   56642847
10 Clash of Clans                           GAME             4.6 44893888
# ℹ 10,348 more rows

The following query, deduplicates the dataset based on the App variable:

Code
# De-duplicating with `App` as primary key (unique key)
googleplaystore_distinct <- googleplaystore_orig %>%
  distinct(App, .keep_all = T)
googleplaystore_distinct
# A tibble: 9,660 × 13
   App       Category Rating Reviews Size  Installs Type  Price `Content Rating`
   <chr>     <chr>     <dbl>   <dbl> <chr> <chr>    <chr> <chr> <chr>           
 1 Photo Ed… ART_AND…    4.1     159 19M   10,000+  Free  0     Everyone        
 2 Coloring… ART_AND…    3.9     967 14M   500,000+ Free  0     Everyone        
 3 U Launch… ART_AND…    4.7   87510 8.7M  5,000,0… Free  0     Everyone        
 4 Sketch -… ART_AND…    4.5  215644 25M   50,000,… Free  0     Teen            
 5 Pixel Dr… ART_AND…    4.3     967 2.8M  100,000+ Free  0     Everyone        
 6 Paper fl… ART_AND…    4.4     167 5.6M  50,000+  Free  0     Everyone        
 7 Smoke Ef… ART_AND…    3.8     178 19M   50,000+  Free  0     Everyone        
 8 Infinite… ART_AND…    4.1   36815 29M   1,000,0… Free  0     Everyone        
 9 Garden C… ART_AND…    4.4   13791 33M   1,000,0… Free  0     Everyone        
10 Kids Pai… ART_AND…    4.7     121 3.1M  10,000+  Free  0     Everyone        
# ℹ 9,650 more rows
# ℹ 4 more variables: Genres <chr>, `Last Updated` <chr>, `Current Ver` <chr>,
#   `Android Ver` <chr>

Missing Values

We observe using the following query that 1465 apps do not have a valid Rating. This could be due to multiple reasons including too few installations, lesser number of reviews, more recently updated version of the app or due to discrepancies while scraping the data from the Google Play Store.

Code
# Gets all observations with at least one NA column
googleplaystore_distinct[!complete.cases(googleplaystore_distinct), ] %>%
  select(App, Installs, Reviews, `Last Updated`, Rating)
# A tibble: 1,465 × 5
   App                                 Installs Reviews `Last Updated`    Rating
   <chr>                               <chr>      <dbl> <chr>              <dbl>
 1 Mcqueen Coloring pages              100,000+      61 March 7, 2018        NaN
 2 Wrinkles and rejuvenation           100,000+     182 September 20, 20…    NaN
 3 Manicure - nail design              50,000+      119 July 23, 2018        NaN
 4 Skin Care and Natural Beauty        100,000+     654 July 17, 2018        NaN
 5 Secrets of beauty, youth and health 10,000+       77 August 8, 2017       NaN
 6 Recipes and tips for losing weight  10,000+       35 December 11, 2017    NaN
 7 Lady adviser (beauty, health)       10,000+       30 January 24, 2018     NaN
 8 Anonymous caller detection          10,000+      161 July 13, 2018        NaN
 9 SH-02J Owner's Manual (Android 8.0) 50,000+        2 June 15, 2018        NaN
10 URBANO V 02 instruction manual      100,000+     114 August 7, 2015       NaN
# ℹ 1,455 more rows

Additionally, there is also an app with a “NaN” Type demonstrated by the following query. A possible reason could be that the app is new (as seen by 0 Installs) and does not have an assigned Type yet.

Code
# Filtering app with NaN Type
googleplaystore_distinct %>%
  filter(str_detect(Type, "NaN"))
# A tibble: 1 × 13
  App        Category Rating Reviews Size  Installs Type  Price `Content Rating`
  <chr>      <chr>     <dbl>   <dbl> <chr> <chr>    <chr> <chr> <chr>           
1 Command &… FAMILY      NaN       0 Vari… 0        NaN   0     Everyone 10+    
# ℹ 4 more variables: Genres <chr>, `Last Updated` <chr>, `Current Ver` <chr>,
#   `Android Ver` <chr>

We do not remove these observations from the dataset since variables other than Rating and Type contain useful information for the said apps.

Mutating the Data

The following mutations should be applied to the dataset to make it easier to analyze and work with:

  • The Last Updated variable should be read as a date type. The lubridate package is useful to do so.
  • The Category, Type and Content Rating variables can be read as factor.
  • The Price variable can be trimmed off the ‘$’ sign and be read as a dbl.
  • The Installs variable can be trimmed of the ‘+’ sign and be read as a dbl.

The following query achieves these mutations:

Code
# Mutating the data and saving to a new dataframe for easier analysis
googleplaystore <- googleplaystore_distinct %>%
  mutate(`Last Updated`= mdy(`Last Updated`), # Convert `Last Updated` to <date> type
         Type=as.factor(Type), # Read in `Type` as a factor
         Category=as.factor(Category), # Read in `Category` as a factor
         `Content Rating`=as.factor(`Content Rating`), # Read in `Content Rating` as a factor
         Price=as.numeric(gsub("\\$", "", Price)), # Trim off "$" sign and read `Price` as a numeric variable
         Installs=as.numeric(gsub("[^0-9]", "", Installs))) # Extract the numeric part of `Installs` and read as a numeric variable
googleplaystore
# A tibble: 9,660 × 13
   App       Category Rating Reviews Size  Installs Type  Price `Content Rating`
   <chr>     <fct>     <dbl>   <dbl> <chr>    <dbl> <fct> <dbl> <fct>           
 1 Photo Ed… ART_AND…    4.1     159 19M      10000 Free      0 Everyone        
 2 Coloring… ART_AND…    3.9     967 14M     500000 Free      0 Everyone        
 3 U Launch… ART_AND…    4.7   87510 8.7M   5000000 Free      0 Everyone        
 4 Sketch -… ART_AND…    4.5  215644 25M   50000000 Free      0 Teen            
 5 Pixel Dr… ART_AND…    4.3     967 2.8M    100000 Free      0 Everyone        
 6 Paper fl… ART_AND…    4.4     167 5.6M     50000 Free      0 Everyone        
 7 Smoke Ef… ART_AND…    3.8     178 19M      50000 Free      0 Everyone        
 8 Infinite… ART_AND…    4.1   36815 29M    1000000 Free      0 Everyone        
 9 Garden C… ART_AND…    4.4   13791 33M    1000000 Free      0 Everyone        
10 Kids Pai… ART_AND…    4.7     121 3.1M     10000 Free      0 Everyone        
# ℹ 9,650 more rows
# ℹ 4 more variables: Genres <chr>, `Last Updated` <date>, `Current Ver` <chr>,
#   `Android Ver` <chr>

Descriptive Statistics

Summary Statistics on Ratings

The following query summarizes the mean, median and standard deviation for the Rating variable across all apps.

Code
# Summary statistic on `Rating`
googleplaystore %>%
  summarize(mean_rating = mean(Rating, na.rm = T),
            median_rating = median(Rating, na.rm = T),
            sd_rating = sd(Rating, na.rm = T))
# A tibble: 1 × 3
  mean_rating median_rating sd_rating
        <dbl>         <dbl>     <dbl>
1        4.17           4.3     0.537

The above summary tibble shows that most of the apps are well-rated (ratings are a maximum out of 5). Rating statistics when grouped by app category can be computed using the following query. These have been arranged in descending order of number of reviews received:

Code
# Count of `Reviews` and summary statistics on `Rating` when grouped by `Category`
# Arrange in descending order of review count
googleplaystore %>%
  group_by(Category) %>%
  summarize(review_count = sum(Reviews),
            mean_rating = mean(Rating, na.rm = T),
            median_rating = median(Rating, na.rm = T),
            sd_rating = sd(Rating, na.rm = T)) %>%
  arrange(desc(review_count))
# A tibble: 33 × 5
   Category        review_count mean_rating median_rating sd_rating
   <fct>                  <dbl>       <dbl>         <dbl>     <dbl>
 1 GAME               622298709        4.25           4.3     0.384
 2 COMMUNICATION      285811368        4.12           4.2     0.470
 3 TOOLS              229356597        4.04           4.2     0.625
 4 SOCIAL             227927801        4.25           4.3     0.457
 5 FAMILY             143825488        4.18           4.3     0.523
 6 PHOTOGRAPHY        105351270        4.16           4.3     0.494
 7 VIDEO_PLAYERS       67484568        4.04           4.2     0.564
 8 PRODUCTIVITY        55590649        4.18           4.3     0.534
 9 PERSONALIZATION     53543080        4.33           4.4     0.359
10 SHOPPING            44551730        4.23           4.3     0.445
# ℹ 23 more rows

The above tibble is also complemented with the box plot for the top 10 most reviewed categories below. Categories in the box plot are ordered based on descending values of median rating. We observe that apps categorized as “PERSONALIZATION” have the highest median rating among these.

Code
# Extract top 10 `Category` by total `Reviews`
top_categories <- googleplaystore %>%
  group_by(Category) %>%
  summarize(SumReviews = sum(Reviews), MeanRating = mean(Rating, na.rm = T)) %>%
  top_n(10, wt = SumReviews)

# Use top 10 `Category` to create a box plot and reorder by descending median `Rating`.
googleplaystore %>%
  filter(Category %in% top_categories$Category) %>%
  group_by(Category) %>%
  mutate(median_rating = median(Rating, na.rm = T)) %>%
  ggplot(aes(reorder(Category, -median_rating), Rating)) +
  geom_boxplot() +
  labs(title = "Top 10 Most Reviewed Categories",
       subtitle = "Box Plot of Ratings",
       x = "Category",
       y = "Rating") +
  theme(plot.title = element_text(hjust = 0.5),
        plot.subtitle = element_text(hjust = 0.5),
        axis.text.x = element_text(angle = 45, hjust = 1))

Summary Statistics on Reviews

The number of Reviews form an implicit indicator of the popularity of an app. The following query summarizes the mean, median and standard deviation for the Reviews variable across all apps.

Code
# Summary statistics on `Reviews`
googleplaystore %>%
  summarize(mean_reviews = mean(Reviews),
            median_reviews = median(Reviews),
            sd_reviews = sd(Reviews))
# A tibble: 1 × 3
  mean_reviews median_reviews sd_reviews
         <dbl>          <dbl>      <dbl>
1      216570.            967   1831226.

From the above tibble we observe that mean_reviews are significantly larger than the median_reviews implying the presence of a few outlier apps having a huge number of reviews.

Code
# Apps arranged in descending order of `Reviews` 
googleplaystore %>%
  select(App, Reviews) %>%
  arrange(desc(Reviews)) %>%
  head()
# A tibble: 6 × 2
  App                                       Reviews
  <chr>                                       <dbl>
1 Facebook                                 78158306
2 WhatsApp Messenger                       69119316
3 Instagram                                66577313
4 Messenger – Text and Video Chat for Free 56642847
5 Clash of Clans                           44891723
6 Clean Master- Space Cleaner & Antivirus  42916526

From the above tibble we observe apps with the highest number of reviews. Review statistics can also be grouped by app category and can be computed using the following query. These have been arranged in descending order of mean reviews:

Code
# Review statistics grouped by `Category`
googleplaystore %>%
  group_by(Category) %>%
  summarize(mean_reviews = mean(Reviews),
            median_reviews = median(Reviews),
            sd_reviews = sd(Reviews)) %>%
  arrange(desc(mean_reviews))
# A tibble: 33 × 4
   Category      mean_reviews median_reviews sd_reviews
   <fct>                <dbl>          <dbl>      <dbl>
 1 SOCIAL             953673.          3782    6753581.
 2 COMMUNICATION      907338.          1711    5335063.
 3 GAME               648904.         28510    2502348.
 4 VIDEO_PLAYERS      414016.          4585    2233854.
 5 PHOTOGRAPHY        374916.         26252    1147458.
 6 ENTERTAINMENT      340810.         37884.   1036260.
 7 TOOLS              277001.           475    2046758.
 8 SHOPPING           220553.         11076.    822197.
 9 WEATHER            155635.         11297     445494.
10 PRODUCTIVITY       148638.          1161     504486.
# ℹ 23 more rows

This matches our previous finding. Apps published within “SOCIAL”, “COMMUNICATION” and “GAME” categories tend to have the highest reviews even though they don’t have the highest mean rating which may be attributed to a larger number of users using apps within these categories leading to a more non-skewed distribution. The following 2D density plot confirms this observation. The most reviewed app categories don’t have the highest mean rating.

Code
# 2D Density Plots of Mean Rating vs Mean Reviews when grouped by `Category`
googleplaystore %>%
  group_by(Category) %>%
  summarize(mean_reviews = mean(Reviews),
            mean_rating = mean(Rating, na.rm = T)) %>%
  ggplot(aes(x = mean_rating, y = mean_reviews)) +
  geom_density2d() +
  labs(title = "Mean Reviews vs Mean Ratings for App Categories",
       subtitle = "2D Density Plot",
       x = "Mean Ratings",
       y = "Mean Reviews") +
  scale_y_continuous(labels = scales::label_number(scale = 1e-3, suffix = "K")) +
  theme(plot.title = element_text(hjust=0.5),
        plot.subtitle = element_text(hjust=0.5),
        axis.text.x = element_text(angle = 45, hjust = 1))  

Another way to visualize the correlation between Reviews and Ratings when grouped by Category is to plot a scatter plot. A scatter plot allows visualizing the raw data in addition to the pattern.

Code
# Scatter Plot of Mean Rating vs Mean Review when grouped by `Category`
googleplaystore %>%
  group_by(Category) %>%
  summarize(mean_reviews = mean(Reviews),
            mean_rating = mean(Rating, na.rm = T)) %>%
  ggplot(aes(x = mean_rating, y = mean_reviews)) +
  geom_point(alpha=0.6) +
  geom_rug(col="steelblue",alpha=0.1, size=1.5) +
  labs(title = "Mean Reviews vs Mean Ratings for App Categories",
       subtitle = "Scatter Plot",
       x = "Mean Ratings",
       y = "Mean Reviews") +
  scale_y_continuous(labels = scales::label_number(scale = 1e-3, suffix = "K")) +
  theme(plot.title = element_text(hjust=0.5),
        plot.subtitle = element_text(hjust=0.5),
        axis.text.x = element_text(angle = 45, hjust = 1))  

Summary Statistics on Category

The following query provides a summary over the count of apps published under each category as well as their proportion within the total number of apps.

Code
# Number of apps within a `Category` and category based proportion of apps in the entire dataset
category_statistics <- googleplaystore %>%
  group_by(Category) %>%
  summarize(app_count = n(),
            app_proportion = n() / nrow(googleplaystore)) %>%
  arrange(desc(app_count))
category_statistics
# A tibble: 33 × 3
   Category        app_count app_proportion
   <fct>               <int>          <dbl>
 1 FAMILY               1832         0.190 
 2 GAME                  959         0.0993
 3 TOOLS                 828         0.0857
 4 BUSINESS              420         0.0435
 5 MEDICAL               395         0.0409
 6 PERSONALIZATION       376         0.0389
 7 PRODUCTIVITY          374         0.0387
 8 LIFESTYLE             369         0.0382
 9 FINANCE               345         0.0357
10 SPORTS                325         0.0336
# ℹ 23 more rows

From the above tibble we observe that the maximum number of apps in our dataset are published under the “FAMILY” category. The following pie-chart also demonstrates this through the visualization.

Code
# Pie-chart representing proportions of apps grouped by `Category`
ggplot(category_statistics, aes(x = "", y = category_statistics$app_proportion, fill = category_statistics$Category)) +
  geom_bar(stat = "identity", width = 1, color = "white") +
  coord_polar("y") +
  theme_void() +
  scale_fill_viridis_d() +
  labs(title = "Proportion of Apps by Category",
       fill = "Category") +
  theme(plot.title = element_text(hjust=0.5))

Another way of looking at the Category data in its raw form is to use a bar plot to show the count of apps within each Category:

Code
# Bar Plot showing count of apps when grouped by `Category`
category_statistics %>%
  ggplot(aes(x = app_count, y = reorder(Category, app_count))) +
  geom_bar(stat = "identity", color = "black", fill = "lightgreen") +
  theme_minimal() +
  scale_x_continuous(breaks = seq(0, max(category_statistics$app_count), by = 200)) +
  labs(title = "Count of Apps by Category",
       subtitle = "Bar Plot",
       x = "App Count",
       y = "Category") +
  theme(plot.title = element_text(hjust=0.5),
        plot.subtitle = element_text(hjust=0.5))

As seen before, the “FAMILY” category has the highest number of apps while the “BEAUTY” category has the least number of apps within our data set.

Summary Statistics on App Type

App Types (Free or Paid) form an interesting statistic.

Code
# Count and Proportion of "Free" and "Paid" app `Type`
googleplaystore %>%
  filter(!str_detect(Type, "NaN")) %>% # Remove observations where `Type` is "NaN"
  group_by(Type) %>%
  summarize(count = n(),
            proportion = n() / nrow(googleplaystore))
# A tibble: 2 × 3
  Type  count proportion
  <fct> <int>      <dbl>
1 Free   8903     0.922 
2 Paid    756     0.0783

We observe that about 92% of the apps in our dataset are “Free”. Another interesting statistic to observe is the most downloaded app for each Type:

Code
# Most downloaded app for each of "Free" and "Paid" apps
googleplaystore %>%
  filter(!str_detect(Type, "NaN")) %>% # Remove observations where `Type` is "NaN"
  mutate(Installs = parse_number(gsub("[+,]", "", Installs))) %>% # Mutate `Installs` to remove "+" sign and read as number
  group_by(Type) %>%
  filter(Installs == max(Installs)) %>% # Filter apps to only show the maximum installed apps in each `Type`
  arrange(desc(Type)) %>%
  select(App, Category, Installs, Type)
# A tibble: 22 × 4
# Groups:   Type [2]
   App                                      Category              Installs Type 
   <chr>                                    <fct>                    <dbl> <fct>
 1 Minecraft                                FAMILY                10000000 Paid 
 2 Hitman Sniper                            GAME                  10000000 Paid 
 3 Google Play Books                        BOOKS_AND_REFERENCE 1000000000 Free 
 4 Messenger – Text and Video Chat for Free COMMUNICATION       1000000000 Free 
 5 WhatsApp Messenger                       COMMUNICATION       1000000000 Free 
 6 Google Chrome: Fast & Secure             COMMUNICATION       1000000000 Free 
 7 Gmail                                    COMMUNICATION       1000000000 Free 
 8 Hangouts                                 COMMUNICATION       1000000000 Free 
 9 Skype - free IM & video calls            COMMUNICATION       1000000000 Free 
10 Google Play Games                        ENTERTAINMENT       1000000000 Free 
# ℹ 12 more rows

We observe that “Minecraft” and “Hitman Sniper” form the most installed “Paid” apps with more than 10 million installs while the remaining apps form the most installed “Free” apps with more than a billion installs. An interesting observation is that a majority of the most downloaded “Free” apps on the Google Play Store are owned by Google itself!

Research Questions

We’ll now use the dataset to answer the following research questions:

Question 1 - Does the Size of an app relate to the number of Installs?

Users don’t prefer installing bulky apps. Yet in our observation above we saw “GAMES” which tend to be bigger in size to be one of the most installed category of apps. An important research question to answer is the optimal size of the app that maximizes the number of installs.

A normalized mutation of the Size variable is created to show all sizes in kilobytes.

Code
# Normalized mutation of `Size` converted to KBs
googleplaystore %>%
  filter(!str_detect(Size, "Varies with device")) %>%
  mutate(Size_KB = ifelse(grepl("M", Size), as.numeric(gsub("[^0-9]", "", Size)) * 1024, as.numeric(gsub("[^0-9]", "", Size)))) %>% # convert MBs to kilobytes, use kilobytes as is
  select(App, Size_KB)
# A tibble: 8,433 × 2
   App                                                Size_KB
   <chr>                                                <dbl>
 1 Photo Editor & Candy Camera & Grid & ScrapBook       19456
 2 Coloring book moana                                  14336
 3 U Launcher Lite – FREE Live Cool Themes, Hide Apps   89088
 4 Sketch - Draw & Paint                                25600
 5 Pixel Draw - Number Art Coloring Book                28672
 6 Paper flowers instructions                           57344
 7 Smoke Effect Photo Maker - Smoke Editor              19456
 8 Infinite Painter                                     29696
 9 Garden Coloring Book                                 33792
10 Kids Paint Free - Drawing Fun                        31744
# ℹ 8,423 more rows

The following query plots a histogram plot for the app size:

Code
# Histogram Plot for app size in kilobytes
googleplaystore %>%
  filter(!str_detect(Size, "Varies with device")) %>% # Filter out ambiguous app sizes
  mutate(Size_KB = ifelse(grepl("M", Size), as.numeric(gsub("[^0-9]", "", Size)) * 1024, as.numeric(gsub("[^0-9]", "", Size)))) %>% # convert MBs to kilobytes, use kilobytes as is
  filter(Installs > 1000000) %>% # Filter to apps with more than a million installs only
  ggplot(aes(x = Size_KB)) + 
  geom_histogram(fill = "salmon") +
  labs(title = "Histogram Plot for App Size",
       x = "App Size",
       y = "Count") +
  scale_x_continuous(labels = scales::label_number(scale = 1/1024, suffix = "MB")) + # Scale to MB
  theme(plot.title = element_text(hjust=0.5),
        axis.text.x = element_text(angle = 45, hjust = 1))  

From the above plot we observe that majority of apps have sizes between 15 MB to 30 MB. We now want to understand how the size of an app correlates to its number of installations. To visualize the trend of the number of installs with changing app size we plot the following scatterplot:

Code
# Scatter plot of app installs vs app size for all categories
googleplaystore %>%
  filter(!str_detect(Size, "Varies with device")) %>% # Filter out ambiguous app sizes
  mutate(Size_KB = ifelse(grepl("M", Size), as.numeric(gsub("[^0-9]", "", Size)) * 1024, as.numeric(gsub("[^0-9]", "", Size)))) %>% # convert MBs to kilobytes, use kilobytes as is
  filter(Installs > 1000000) %>% # Filter to apps with more than a million installs only
  ggplot(aes(x=Size_KB, y=Installs)) +
  geom_point(alpha = 0.4) +
  labs(title = "Installs vs App Size",
       subtitle = "Scatterplot",
       x = "App Size",
       y = "Installs") +
  scale_y_continuous(labels = scales::label_number(scale = 1e-6, suffix = "million")) + # Scale to a million
  scale_x_continuous(labels = scales::label_number(scale = 1/1024, suffix = "MB")) + # Scale to MB
  theme(plot.title = element_text(hjust=0.5),
        plot.subtitle = element_text(hjust=0.5),
        axis.text.x = element_text(angle = 45, hjust = 1))  

In the above two plots, we filter apps which have more than a million installs. We see that App Size does not seem to make any discernible pattern on the number of installs. There are apps both approximately 20MB and 75MB with more than a billion installs.

A follow-up question would be whether some categories like “GAME” form outliers having apps with high size and installs? This is intuitive since games have more visual assets that tend to be bulky.

Code
# Scatter plot of app installs vs app size for all categories except "GAME"
googleplaystore %>%
  filter(!str_detect(Size, "Varies with device") & !str_detect(Category, "GAME")) %>% # Filter out ambiguous app sizes and "GAME" `Category`
  mutate(Size_KB = ifelse(grepl("M", Size), as.numeric(gsub("[^0-9]", "", Size)) * 1024, as.numeric(gsub("[^0-9]", "", Size)))) %>% # convert MBs to kilobytes, use kilobytes as is
  filter(Installs > 1000000) %>% # Filter to apps with more than a million installs only
  ggplot(aes(x=Size_KB, y=Installs)) +
  geom_point(alpha = 0.6) +
  labs(title = "Installs vs App Size for non-Game Categories",
       subtitle = "ScatterPlot", 
       x = "App Size",
       y = "Installs") +
  scale_y_continuous(labels = scales::label_number(scale = 1e-6, suffix = "million")) + # Scale to a million
  scale_x_continuous(labels = scales::label_number(scale = 1/1024, suffix = "MB")) + # Scale to MB
  theme(plot.title = element_text(hjust=0.5),
        plot.subtitle = element_text(hjust=0.5),
        axis.text.x = element_text(angle = 45, hjust = 1))

From the above plot, our hypothesis is correct. While there are a few outliers having a greater app size resulting in a more number of installs, the general trend seen above is that users tend to install apps that are lighter. The distribution above is seen to be right-skewed.

A point to note is that number of installs does not correlate to users paying for these apps. As seen from our descriptive analysis most billion user apps are free. An important follow-up question to ask is - do users pay more for apps that are lighter?

An interesting observation before we proceed to note are apps like “I am Rich” apps which form the highest paid apps and tend to skew the data:

Code
# Highest priced apps
googleplaystore %>%
  top_n(10, wt=Price) %>%
  arrange(desc(Price))
# A tibble: 13 × 13
   App       Category Rating Reviews Size  Installs Type  Price `Content Rating`
   <chr>     <fct>     <dbl>   <dbl> <chr>    <dbl> <fct> <dbl> <fct>           
 1 I'm Rich… LIFESTY…    3.6     275 7.3M     10000 Paid   400  Everyone        
 2 most exp… FAMILY      4.3       6 1.5M       100 Paid   400. Everyone        
 3 💎 I'm r… LIFESTY…    3.8     718 26M      10000 Paid   400. Everyone        
 4 I am rich LIFESTY…    3.8    3547 1.8M    100000 Paid   400. Everyone        
 5 I am Ric… FAMILY      4       856 8.7M     10000 Paid   400. Everyone        
 6 I Am Ric… FINANCE     4.1    1867 4.7M     50000 Paid   400. Everyone        
 7 I am Ric… FINANCE     3.8      93 22M       1000 Paid   400. Everyone        
 8 I am ric… FINANCE     3.5     472 965k      5000 Paid   400. Everyone        
 9 I Am Ric… FAMILY      4.4     201 2.7M      5000 Paid   400. Everyone        
10 I am ric… FINANCE     4.1     129 2.7M      1000 Paid   400. Teen            
11 I am Rich FINANCE     4.3     180 3.8M      5000 Paid   400. Everyone        
12 I AM RIC… FINANCE     4        36 41M       1000 Paid   400. Everyone        
13 I'm Rich… LIFESTY…  NaN         0 40M          0 Paid   400. Everyone        
# ℹ 4 more variables: Genres <chr>, `Last Updated` <date>, `Current Ver` <chr>,
#   `Android Ver` <chr>

To get a more reliable plot, we only consider apps priced less than $20. A distribution of the app prices can be observed with the following query:

Code
# Histogram plot for app price for "Paid" apps priced less than $20
googleplaystore %>%
  filter(!str_detect(Size, "Varies with device") & Type == "Paid" & Price < 20) %>% # Filter out ambiguous app sizes and only consider apps priced less than $20
  ggplot(aes(x=Price)) +
  geom_histogram(fill = "coral") +
  labs(title = "Histogram Plot for App Price", 
       x = "App Price",
       y = "Count") +
  scale_x_continuous(labels = scales::label_number(prefix = "$")) +
  theme(plot.title = element_text(hjust=0.5))

The above right-skewed distribution depicts that most “Paid” apps are priced below $10 with a majority among them being priced less than $5.

We now want to find out if there’s a correlation between the size of an app and its Google Playstore listed price. The following query results in a scatter plot to visualize this.

Code
# Scatter plot of app price vs app size for "Paid" apps priced less than $20
googleplaystore %>%
  filter(!str_detect(Size, "Varies with device") & Type == "Paid" & Price < 20) %>% # Filter out ambiguous app sizes and only consider apps priced less than $20
  mutate(Size_KB = ifelse(grepl("M", Size), as.numeric(gsub("[^0-9]", "", Size)) * 1024, as.numeric(gsub("[^0-9]", "", Size)))) %>% # convert MBs to kilobytes, use kilobytes as is
  ggplot(aes(x=Size_KB, y=Price)) +
  geom_point(alpha = 0.6) +
  labs(title = "App Price vs App Size",
       subtitle = "Scatterplot", 
       x = "App Size",
       y = "App Price") +
  scale_y_continuous(labels = scales::label_number(prefix = "$")) + # Add "$" prefix
  scale_x_continuous(labels = scales::label_number(scale = 1/1024, suffix = "MB")) + # Scale to MB
  theme(plot.title = element_text(hjust=0.5),
        plot.subtitle = element_text(hjust=0.5),
        axis.text.x = element_text(angle = 45, hjust = 1))

From the above plot, we see that apps that are lighter demand a greater price set on the Google Playstore. A trend observed from the above plot is that bulkier apps tend to be comparatively lower priced.

Question 2 - What is the best monetization strategy for “Paid” apps?

Relations between the Price, Rating and Installs variables can tell us about the correlation between the optimal pricing for apps.

The Price variable can be converted to a factor for better visibility. The following query gives a distribution of prices when grouped:

Code
# Histogram plot for price groups
price_order <- c("< $1", "$1 - $10", "$10 - $20", "> $20") # set order of price groups

# Create `Price_Group` mutation and use it to plot a histogram plot
googleplaystore %>%
  filter(Type == "Paid") %>%
  mutate(Price_Group = as.factor(case_when(
    Price < 1 ~ "< $1",
    between(Price, 1, 10) ~ "$1 - $10",
    between(Price, 10, 20) ~ "$10 - $20",
    Price > 20 ~ "> $20"
  ))) %>%
  mutate(Price_Group = factor(Price_Group, levels = price_order)) %>% # Convert `Price_Group` to factor and use pre-defined levels
  ggplot(aes(x = Price_Group)) +
  geom_histogram(stat = "count", fill = "cyan") +
  theme_minimal() +
  labs(title = "Histogram of Price Group",
       x = "Price Group",
       y = "Count") +
  theme(plot.title = element_text(hjust=0.5))

We see that more than half of the total “Paid” apps fall within the $1 - $10 price group. Similarly, the Rating variable can also be converted to a factor and we can observe the distribution:

Code
# Histogram plot for rating groups
# Create `Rating_Group` mutation and use it to plot a histogram plot
googleplaystore %>%
  filter(Type == "Paid" & !str_detect(Rating, "NaN"))%>% # Consider "Paid" only apps and filter out "NaN" `Rating`
  mutate(
    Rating_Group = as.factor(
      case_when(
        Rating < 1 ~ "0.0 - 1.0",
        between(Rating, 1, 2) ~ "1.0 - 2.0",
        between(Rating, 2.0, 3.0) ~ "2.0 - 3.0",
        between(Rating, 3.0, 4.0) ~ "3.0 - 4.0",
        Rating > 4 ~ "4.0 - 5.0"
        ))) %>%
  ggplot(aes(x = Rating_Group)) +
  geom_histogram(stat = "count", fill = "purple") +
  theme_minimal() +
  labs(title = "Histogram of Rating Group",
       x = "Rating Group",
       y = "Count") +
  theme(plot.title = element_text(hjust=0.5))

More than half of the “Paid” apps rated in the range of 4.0 - 5.0. None of the “Paid” apps have a rating below 1.0.

The following faceted bar plot provided a correlation between the count of price groups as faceted by rating groups.

Code
# Create a dataframe with `Price_Group` and `Rating_Group` mutations
googleplaystore_price_rating_grouped <- googleplaystore %>%
  filter(Type == "Paid" & !str_detect(Rating, "NaN"))%>%
  mutate(Price_Group = as.factor(case_when(
    Price < 1 ~ "< $1",
    between(Price, 1, 10) ~ "$1 - $10",
    between(Price, 10, 20) ~ "$10 - $20",
    Price > 20 ~ "> $20",
  )),
  Rating_Group = as.factor(
    case_when(
      Rating < 1 ~ "0.0 - 1.0",
      between(Rating, 1, 2) ~ "1.0 - 2.0",
      between(Rating, 2.0, 3.0) ~ "2.0 - 3.0",
      between(Rating, 3.0, 4.0) ~ "3.0 - 4.0",
      Rating > 4 ~ "4.0 - 5.0"
      ))
  )

# Plot a faceted bar plot of number of apps within a `Price_Group` faceted by `Rating_Group`
googleplaystore_price_rating_grouped %>%
  mutate(Price_Group = factor(Price_Group, levels = price_order)) %>%
  ggplot(aes(x = reorder(Price_Group, as.numeric(Price_Group)))) +
  geom_bar(fill="lightblue") +
  scale_fill_brewer(palette = "Set3") +
  facet_wrap(~ Rating_Group, scales = "free") +
  labs(title = "Number of Apps within a Price Group\n faceted by Rating group",
       subtitle = "Faceted Bar Plot",
       x = "Price Group",
       y = "Number of Apps") +
  theme_minimal() +
  theme(plot.title = element_text(hjust=0.5),
        plot.subtitle = element_text(hjust=0.5))

We see that while $1 - $10 price category is spread across the rating group, apps priced between $10 - $20 or <$1 tend to get a significantly higher rating on the Playstore thereby leading to the inference that high priced apps are seen not to receive a higher rating.

A follow up question that arises now is - Is there a pricing threshold above which users don’t prefer downloading apps? For the sake of brevity, we only consider apps with more than a 1000 installs and less than 10 million installs. The following group bar plot can help answer this. The mean price for each rating group is plotted and the entire plot is faceted across the number of installs.

Code
# Scatter plot of mean price for apps varied by `Installs` for each `Rating_Group`
googleplaystore_price_rating_grouped %>%
  filter(Installs > 1000 & Installs < 10000000) %>%
  group_by(Rating_Group, Installs) %>%
  summarize(mean_price = mean(Price))%>%
  ggplot(aes(x = Installs, y = mean_price, color = Rating_Group)) + 
    geom_point() +
  labs(title = "Mean Price for a Rating group\nVaried by Number of Installs",
       subtitle = "Scatter Plot",
       x = "Installs",
       y = "Mean Price") +
  theme_bw() +
  scale_y_continuous(labels = scales::label_number(prefix = "$")) + # Add "$" suffix to Y axis labels
  scale_x_continuous(labels = scales::label_number(scale = 1e-3, suffix = "k")) + # Scale to thousands
  theme(plot.title = element_text(hjust=0.5),
        plot.subtitle = element_text(hjust=0.5))

The above plot leads us to infer that users tend to download apps and leave a better rating if the app is priced close to $3. An interesting observation is that even though apps with a mean price of about $65 don’t get a great rating, however are installed much more than most apps with a lower price range (< $20).

Question 3 - How does the last update date of the app impact its popularity among users?

The Last Updated variable provides the date when the latest update of the app was published on the Google Play Store. Are apps which are less frequently updated impact user ratings? Do these apps tend to be less installed? It could also be the case that Last Updated does not have any impact on any of the popularity metrics.

Code
# Line plot of app installs varied by `Last Updated` date of the app
googleplaystore %>%
  filter(Type == "Paid" & Installs > 0) %>% # Consider only "Paid" apps with greater than 0 `Installs`
  ggplot(aes(x=`Last Updated`, y=Installs)) +
  geom_line() + 
  labs(title = "App Installs varied by Last Update date",
       subtitle = "Line Plot",
       x = "Date Last Updated",
       y = "App Installs") +
  scale_y_continuous(labels = scales::label_number(scale=1e-6, suffix = "million")) + # Scale Y axis labels to million
  theme(plot.title = element_text(hjust=0.5),
        plot.subtitle = element_text(hjust=0.5))

From the above plots, we observe that apps having more recent updates (the data is collected in 2018), tend to have a significantly higher number of installs. Although there a few apps last updated within 4 years of the data collection that seem to have a high number of installs, almost all apps last updated more than 4 years back have very few installs.

A follow-up question is whether the last updated date of the app affects the ratings it receives. We plot a heat map of the number of apps falling within a particular rating group as varied by the year they were last updated.

Code
# Plot a heat map of app ratings varied by year the app was last updated
googleplaystore %>%
  filter(!str_detect(Rating, "NaN"))%>%
  mutate(
    Rating_Group = case_when(
      Rating < 1 ~ "0.0 - 1.0",
      between(Rating, 1, 2) ~ "1.0 - 2.0",
      between(Rating, 2.0, 3.0) ~ "2.0 - 3.0",
      between(Rating, 3.0, 4.0) ~ "3.0 - 4.0",
      Rating > 4 ~ "4.0 - 5.0"),
    Year = year(`Last Updated`)) %>%
  group_by(Year, Rating_Group) %>%
  summarize(App_Count = n()) %>%
  ggplot(aes(x = Year, y = Rating_Group, fill = App_Count)) +
  geom_tile() +
  scale_fill_viridis() + # set color scheme of the heat map
  theme_minimal() +
  labs(title = "App Ratings varied by Last Update Year",
       subtitle = "Heat Map",
       x = "Year Last Updated",
       y = "Rating Group Counts") +
  theme(plot.title = element_text(hjust=0.5),
        plot.subtitle = element_text(hjust=0.5))

Our finding from the above plot is that a majority of the apps rated between 4.0 and 5.0 on the Playstore are the ones which were recently updated.

Question 5 - How does the distribution of Genres vary across different Category?

A Genre might belong to multiple Category. An important question to answer would be to observe the Genre belonging to the maximum number of categories.

Code
# Create a new dataframe of `Genre` that appear across the most number of distinct categories
genres_max_category <- googleplaystore %>%
  separate_rows(Genres, sep = ";") %>% # Separate `Genre` combined by ";" into distinct rows
  filter(Genres != "") %>% # Remove NA genres if any
  group_by(Genres) %>%
  summarize(category_count = n_distinct(Category)) %>% # number of distinct category a `Genre` belongs to
  top_n(n = 5, wt = category_count) # extract top 5 genres weighted by category_count
genres_max_category
# A tibble: 6 × 2
  Genres             category_count
  <chr>                       <int>
1 Action & Adventure              5
2 Brain Games                     5
3 Creativity                      6
4 Education                       5
5 Music & Video                   5
6 Pretend Play                    5

We observe that the “Creativity” genre belongs to the maximum number of Category. Are these Genre also popular among users? We can measure the mean number of installs for each of these genres to estimate popularity.

Code
# Bar plot of mean installs for each of the top 5 genres appearing the most number of categories
googleplaystore %>%
  separate_rows(Genres, sep = ";") %>%
  filter(Genres != "" & Genres %in% genres_max_category$Genres) %>%
  group_by(Genres) %>%
  summarize(mean_installs = mean(Installs)) %>%
  ggplot(aes(x = reorder(Genres, -mean_installs), y = mean_installs)) +
  scale_y_continuous(labels = scales::label_number(scale = 1e-6, suffix = "million")) + # Scale Y axis to million
  geom_bar(stat = "identity", fill = "pink") +
  labs(title = "Mean Installs of Apps by Genres",
       subtitle = "Bar Plot",
       x = "Genres",
       y = "Mean Installs") +
  theme(plot.title = element_text(hjust=0.5),
        plot.subtitle = element_text(hjust=0.5))

The “Action & Adventure” genre though not belonging to the maximum number of Category is seen to be the most installed Genre followed by “Music & Video”.

A follow-up question is what kind of genres tend to form the highest priced apps? The following bar plot answers this question for the top 10 highest paid genres.

Code
# Horizontal bar plot mean price for each "Paid" `Genre`
googleplaystore %>%
  separate_rows(Genres, sep = ";") %>%
  filter(Genres != "" & Type == "Paid") %>%
  group_by(Genres) %>%
  summarize(mean_price = mean(Price)) %>%
  arrange(desc(mean_price)) %>%
  head(10) %>%
  ggplot(aes(x = mean_price, y = Genres)) + 
  geom_bar(stat = "identity", color = "black", fill = "maroon") +
  theme_minimal() +
  scale_x_continuous(labels = scales::label_number(prefix = "$")) +
  labs(title = "Mean Price of Apps by Genres",
       subtitle = "Bar Plot",
       x = "Mean Price",
       y = "Genre") +
  theme(plot.title = element_text(hjust=0.5),
        plot.subtitle = element_text(hjust=0.5))

We see that “Finance” and “Lifestyle” genres have the highest mean priced apps, most likely due to “I am Rich” type of apps we observed earlier.

Question 6 - Does the number of reviews positively correlate with the number of installs for apps?

Usually active users tend to leave reviews but does that also mean that the app is more installed or has a higher rating on the Play Store? This might be significantly important for paid apps, since users tend to read other people’s reviews before deciding to pay for an app.

Code
# Scatter plot of app installs vs app reviews faceted by rating groups for "Paid" apps with less than a million installs
googleplaystore %>%
  filter(Type == "Paid" & !str_detect(Rating, "NaN") & Installs < 1e6)%>%
  mutate(
    Rating_Group = as.factor(
      case_when(
        Rating < 1 ~ "0.0 - 1.0",
        between(Rating, 1, 2) ~ "1.0 - 2.0",
        between(Rating, 2.0, 3.0) ~ "2.0 - 3.0",
        between(Rating, 3.0, 4.0) ~ "3.0 - 4.0",
        Rating > 4 ~ "4.0 - 5.0"
        ))) %>%
  ggplot(aes(x=Reviews, y = Installs)) +
  geom_point(alpha = 0.4) +
  facet_wrap(~Rating_Group, scales = "free") +
  labs(title = "App Installs vs Reviews Varied across Rating Groups",
       x = "Reviews",
       y = "App Installs") +
  theme(plot.title = element_text(hjust=0.5))

We confirm our hypothesis across all Rating_Group. Apps with a greater number of Install are seen to have a greater number of Reviews across all rating groups. The number of Reviews is also seen to correlate with the Ratings. Apps with a higher number of Reviews are seen to have a higher Rating and vice-versa.

Critical Reflections

The Google Play Store dataset, collected in 2018 by scraping app detail pages off the Google Play Store has been analyzed. Analysis on the dataset forms important for app developers and businesses to gather insights into the best way to launch their apps.

We observe that “Free” apps form the most-installed apps. An important reflection is that it may be a misnomer to term these apps “free” since the dataset does not factor in in-app purchases. For example, Google Play Books with over a billion installations though marked as “Free” relies on users purchasing books to read within the app as a business model. Ironically, the most installed apps on the Google Play Store are owned by Google itself.

Lighter apps tend to be installed more by users. A pattern observed is that users also don’t mind paying more for apps which are lighter. An outlier within this pattern are apps under the “GAME” category. These apps tend to be bulky and yet command a higher number of installations. This is intutitive owing to the heavy audio-visual assets required in these apps. For apps with Size as “Varies by device”, the dataset does not provide device details or finer granularity to be analyzed if installation trends change across devices.

A majority of the “Paid” apps on the Google Play Store as depicted by the dataset fall within the $1 - $10 price category. While no obvious pattern in ratings exists for this category, paid apps priced less than $1 are seen to receive higher ratings. It is also seen that users install lower priced apps more than their higher priced counterparts. The $1 - $10 price category is the sweet spot for a new paid app being launched.

Apps that are frequently updated are seen to receive a higher number of installs and higher ratings on the Google Play Store. The last update threshold beyond which apps suffer in installation and ratings is seen to be 4 years. This may be attributed to older features being in use along with a lack of support for newer phones leading to a decrease in installations and user ratings.

The Android Ver 4.0 is the oldest targeted Android version for most apps within the dataset. An upward trend of installations is observed with increasing Android Versions. However, apps that only work for latest Android Ver, for example version 8 are seen to receive very few reviews. For an app launching in 2018, support Android versions 4.0 and beyond is the most optimal choice.

Some of the most installed Genre of apps are the Action & Adventure and the Music & Video genres receiving more than 5 million mean installations each. For “Paid” apps, the “Finance”, “Lifestyle” and “Events” genres form the highest priced genres. This is most likely seen due to the “I am Rich” type of apps which are high-priced apps with minimal functionality and form outliers for this pattern.

An important observation from the data is that apps receiving a higher number of reviews are also seen to recieve higher number of installations. Additionally, most high reviewed apps are also highly rated.

Therefore, by analyzing the dataset we observe that for a new app being launched on the Google Play Store a recommendation is to price it between $1 - $10, keep it under 25 MB of app size unless it’s a game and support Android version 4.0 and beyond. A strong suggestion is to frequently update the app to bring in newer Android features.

Bibliography

  • Google Play Store Dataset on Kaggle. https://www.kaggle.com/datasets/lava18/google-play-store-apps/data. Gupta, Lavanya. 2018.
  • R Core Team (2022). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. URL https://www.R-project.org/.
  • Wickham, H., & Grolemund, G. (2016). R for data science: Visualize, model, transform, tidy, and import data. OReilly Media.
  • Baumer, B. S., Kaplan, D. T., & Horton, N. J. (2017). Modern data science with R. crc Press.
  • R Graph Gallery. https://r-graph-gallery.com/.