Create a waterfall view of a HAR object

HARviewer(har, width = NULL, height = NULL, elementId = NULL)

Arguments

har
A parsed har object output from readHAR
width
Optional width of the HAR viewer
height
Optional height of the HAR viewer
elementId
Optional element id to assign to the HAR viewer

Value

Returns a createWidget object. A waterfall of the HAR using the https://github.com/micmro/PerfCascade JavaScript library.

Examples

## Not run: ------------------------------------ # har <- readHAR(system.file(package = "HARtools", "exdata", # "r-project.org.161028_W2_11MA.har")) # hv <- HARviewer(har) # # view in R # hv # # # save and view # tFile <- tempfile(fileext = ".html") # htmlwidgets::saveWidget(hv,file = tFile) # browseURL(tFile) ## ---------------------------------------------