Scrapes the App store page and retrieves the split of the ratings between 1 and 5 stars
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
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)
}