getGoogleCsiData: get Google CSI data

Description Usage Arguments Value Examples

Description

get Google CSI data (Client Side Instrumentation)

Usage

1
2
getGoogleCsiData(server, testId, run = 1L, repeatView = FALSE,
  dryRun = FALSE, ...)

Arguments

server

A WebPagetest server

testId

test ID string

run

an integer. Which run number on a multiple runs test. Defaults to 1L.

repeatView

get the Repeat View (cached view) instead of default First View (primed cache). Defaults to FALSE

dryRun

If TRUE just return the RESTful API URL. Defaults to FALSE

...

Additonal function arguments

Value

A tibble of Google CSI data (Client Side Instrumentation). If no CSI data is available for the test a blank tibble is returned.

Examples

1
2
3
4
5
6
7
## Not run: 
  WPT <- server()
  history <- getHistory(WPT, filter = "London")
  tID <- as.character(history[dim(history)[1], "Test ID"])
  googlecsi <- getGoogleCsiData(WPT, tID)

## End(Not run)

johndharrison/webpagetestr documentation built on May 19, 2019, 5:14 p.m.