knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
{ width=30% }
library(dataviewR)
dataviewR
is a Shiny-based interactive viewer for R data frames and tibbles. It allows you to:
dplyr
code based on your interactionsYou can install dataviewR
from CRAN (replace with actual if published):
install.packages("dataviewR")
Or from GitHub (if applicable):
# install.packages("devtools") devtools::install_github("madhankumarnagaraji/dataviewR")
Let's try viewing the built-in mtcars
dataset:
dataviewR::dataviewer(mtcars)
This will launch an interactive Shiny app where you can explore the dataset.
Easily select the columns you want to view or analyze.
Apply complex filters on your data to focus on subsets.
Sort your data by columns and search for values.
As you interact with the app, dataviewR
generates the corresponding dplyr
code, helping you reproduce your steps programmatically.
sessionInfo()
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.