The goal of itunesr is to help iOS App Developers access iTunes App Store Ratings and Reviews programmatically, since iTunes Connect doesn’t provide this data straightforward.
# install itunesr directly from CRAN:
install.packages("itunesr")
# the development version from GitHub:
# install.packages("devtools")
devtools::install_github("amrrs/itunesr")
library(itunesr)
getReviews(368677368,'us',1)
getAttributes(742044692,'in')
itunesr
can be loaded just like any other R-package with library(itunesr)
.
Note: If you’re trying this behind a Firewall, you might get: Error in open.connection(con, "rb") : Timeout was reached
To resolve this error, Please refer this link: Configuring R to Use an HTTP or HTTPS Proxy
library(itunesr)
#Latest (Page 1) Uber Reviews for the Country: US
uber_reviews <- getReviews(368677368,'us',1)
#Displaying the column names
names(uber_reviews)
#Ratings count from the 50 Reviews
table(uber_reviews$Rating)
> library(itunesr)
>
> #Latest (Page 1) Uber Reviews for Country: US
> uber_reviews <- getReviews(368677368,'us',1)
>
> #Displaying the column names
> names(uber_reviews)
[1] "Title" "Author_URL" "Author_Name" "App_Version" "Rating"
[6] "Review" "Date"
>
> #Ratings count from the 50 Reviews
> table(uber_reviews$Rating)
1 2 3 4 5
40 2 1 1 6
CC0