Description Usage Arguments Examples
View source: R/speed-insights-package.R
The speedfinder function returns the Google Page Speed Insights test results for a single URL as a dataframe.
1 | speedfinder(url, strategy, key, filter_third_party_resources = FALSE)
|
url |
A URL on which to run the Google Page Speed Insights test. |
strategy |
Whether the URL should be evaluated in a mobile or desktop context. Accordingly, acceptable values are either the string "mobile" or the string "desktop". |
key |
A unique key obtainable from Google by registering for free as a Google developer. |
filter_third_party_resources |
A boolean to indicate if third party resources should be filtered out before PageSpeed analysis. (Default: FALSE) |
1 2 3 4 | ## Not run:
speedfinder("https://www.cars.com","mobile",key)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.