Skip to contents

Scrapes the App store page and retrieves the split of the ratings between 1 and 5 stars

Usage

get_apple_rating_split(id, country = "us")

Arguments

id

The ID of the App on the Apple App Store

country

The two-letter country code for the store you want to search. For a list of country codes see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2

Value

A 5 row data.frame with the split of 1-5 stars given rounded to the nearest percent

Details

For overall rating and count, use lookup_apple

Examples

if (FALSE) { # interactive()
# Search for GitHub in App Store in the UK
country_id <- "gb"
github_search_results <- search_apple(
  term = "GitHub",
  country = country_id,
  media = "software"
)

# Look up app store rating split for GitHub in the UK
# (App ID found in trackId column of github_search_results)
get_apple_rating_split(1477376905, country_id)
}