getDataForTag: getDataForTag

View source: R/getDataForTag.R

getDataForTagR Documentation

getDataForTag

Description

Scrape an app page in the Google Play Store for information associated with a specific html tag.

Usage

getDataForTag(app_url, html_tag, html_attribute, html_attribute_value)

Arguments

app_url

The url for an app page in the Google Play Store

html_tag

An html tag. E.g. "div"

html_attribute

An html attribute associated with the html tag. E.g. "class"

html_attribute_value

The value associated with the html attribute. E.g. "KmO8jd"

Value

data

Examples

app_url <- "https://play.google.com/store/apps/details?id=com.dinaga.photosecret"
getDataForTag(app_url, "div", "class", "KmO8jd")
getDataForTag(app_url, "a", "class", "hrTbp R8zArc")

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