knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

rscrapss

Codecov test coverage Travis build status

The main purpose of rscrapps is to allow a user to easily search the Google Play Store for apps and scrape information from those apps' pages.

Installation

You can install the development version from GitHub with:

install.packages("devtools")
devtools::install_github("stephaniereinders/rscrapps")

Example 1: Search for apps and scrape their Google Play Store pages

The function getDataForApps will search the Google Play Store for apps using the input search_term and scrape data from those apps' Google Play Store pages. The function also allows you to specify the number of apps to scrape using the input num_apps. To scrape all of the apps listed in the search results, use num_apps = "all".

library(rscrapps)

getDataForApps(search_term = "steganography", num_apps =  5)

Example 2: Scrape the Google Play Store page of a single app

If you want to scrape the Google Play Store app page of a specific app, you can use the function getDataForSingleApp. The input is the url to the app's page on the Google Play Store.

getDataForSingleApp("https://play.google.com/store/apps/details?id=com.hulu.plus")


stephaniereinders/rscrapps documentation built on March 18, 2022, 1:02 a.m.