stream_view: View Stream

View source: R/stream_view.R

stream_viewR Documentation

View Stream

Description

Opens a Shiny gadget to visualize the given stream.

Usage

stream_view(stream, ...)

Arguments

stream

The stream to visualize.

...

Additional optional arguments.

Examples

## Not run: 
library(sparklyr)
sc <- spark_connect(master = "local")

dir.create("iris-in")
write.csv(iris, "iris-in/iris.csv", row.names = FALSE)

stream_read_csv(sc, "iris-in/") %>%
  stream_write_csv("iris-out/") %>%
  stream_view() %>%
  stream_stop()

## End(Not run)

sparklyr documentation built on June 8, 2022, 1:07 a.m.