HARtools (version 0.0.5)

HARviewer: View HAR object

Description

Create a waterfall view of a HAR object

Usage

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 PerfCascade JavaScript library.

Examples

Run this code
## 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)
# ## End(Not run)

Run the code above in your browser using DataLab