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, title = NULL, type = "csv")
data |
A data.frame, tibble, or sf object to view |
title |
Character string for the Terminal window title. Defaults to "misc::view_vd" |
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
## Not run:
# 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")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.