| view_vd | R Documentation |
Opens data in VisiData through the Terminal application on macOS. If the input is an sf object, the geometry column will be dropped before viewing.
view_vd(data, type = "csv")
data |
A data.frame, tibble, or sf object to view |
type |
Either "csv" or "json" format for writing the temporary file. Use "json" for preserving list-columns. |
This function only works in interactive sessions on macOS. It creates a temporary file and opens it in VisiData through the Terminal application. The temporary filename includes a timestamp for identification.
Returns the input data invisibly
if (interactive()) {
# View a data frame
mtcars %>% view_vd()
# View with custom title
mtcars %>% view_vd(title = "Car Data")
# View with list columns preserved
nested_df %>% view_vd(type = "json")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.