Description Usage Arguments Value Examples
View source: R/site_intercept.R
Scrape intercept and creative ids and names from admin Summary Report page for use in API calls
Uses RSelenium to open and scrape Chrome
1 2 3 4 5 | listInterceptsAndCreatives(
summaryReportURL = Sys.getenv("QUALTRICS_SUMMARY_REPORT_URL"),
pageScript = "var c = [];\n document.querySelectorAll(\"table.StatsTable tbody tr td:nth-of-type(1) a\").forEach(function(x) {c.push(x.getAttribute(\"clickcallback\"))})\n return c"
)
|
summaryReportURL |
String. URL for license summary report |
pageScript |
String. Javascript to scrape the tables |
data.frame
1 2 3 4 | ## Not run:
listInterceptsAndCreatives()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.