View source: R/label_browser.R
codebook_browser | R Documentation |
Usable as an Addin in RStudio. You can select it from a menu at the top, when this package is installed. If you're currently selecting the name of a data frame in your source code, this will be the dataset shown by default. If you don't select text, you can pick a dataset from a dropdown. You can add a keyboard shortcut for this command by following the instructions by RStudio. How about Cmd+Ctrl+C?
codebook_browser(
data = NULL,
labels_only = FALSE,
title = "Codebook metadata",
viewer = rstudioapi::viewer
)
data |
the dataset to display. If left empty will try to use selected text in RStudio or offer a dropdown |
labels_only |
defaults to false called with TRUE from |
title |
title of the gadget |
viewer |
defaults to displaying in the RStudio viewer |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.