View source: R/st_url_parser.R
| st_parse_web_url | R Documentation |
Converts a Sensor Tower web interface URL into API-compatible parameters that can be used with sensortowerR functions. This is helpful when you want to replicate a web query in R.
st_parse_web_url(url, verbose = TRUE)
url |
Character string. A Sensor Tower web interface URL |
verbose |
Logical. Whether to print parameter mapping details. Defaults to TRUE. |
List of API-compatible parameters suitable for use with st_top_charts() and other sensortowerR functions
## Not run:
# Parse a web URL
url <- "https://app.sensortower.com/market-analysis/top-apps?os=unified&measure=DAU"
params <- st_parse_web_url(url)
# Use the parameters in an API call
data <- do.call(st_top_charts, params)
# Or modify parameters before using
params$limit <- 50
data <- do.call(st_top_charts, params)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.