| browse_data | R Documentation |
browse_data() opens an interactive viewer for a data frame: summary
metrics, a virtualised table (fast for millions of rows), information
about the selected column, search across all columns, sorting, and row
details. data_browser() builds the same app without running it, e.g.
to customise or test it.
browse_data(data, title = deparse(substitute(data)), ...)
data_browser(data, title = deparse(substitute(data)), ...)
data |
A data frame or matrix. |
title |
Title shown at the top (defaults to the expression). |
... |
Passed to |
Keys: arrows / Page Up / Page Down move the cell cursor; / focuses the
search box (Enter applies it, Escape in the box clears it); s sorts by
the current column (again: descending); r resets sorting and search;
Enter shows the row; q quits.
browse_data() returns NULL invisibly; data_browser()
returns an App.
viewer <- data_browser(mtcars)
pilot <- test_app(viewer, 100, 30)
pilot$press("s")
pilot$stop()
if (interactive()) browse_data(mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.