An Interactive and Feature-Rich Data Viewer for R
dataviewR
is a powerful Shiny-based interactive data
viewer that transforms the way you explore R data frames and tibbles.
With its intuitive interface and advanced features, it provides
comprehensive data exploration capabilities with automatic code
generation for reproducible workflows.
dplyr
code for all your data manipulations# Install from CRAN (recommended for most users)
install.packages("dataviewR")
If youβre using R versions prior to 4.3.0, you may need to install from source:
# For R 4.2.x and earlier
install.packages("dataviewR", type = "source")
# Alternative method using devtools
::install_version("dataviewR", version = "0.1.0",
devtoolsrepos = "http://cran.r-project.org")
# Install the latest development version from GitHub
# install.packages("devtools")
::install_github("madhankumarnagaraji/dataviewR") devtools
# Install from R-universe (often has additional binary support)
install.packages("dataviewR",
repos = c("https://madhankumarnagaraji.r-universe.dev",
"https://cloud.r-project.org"))
library(dataviewR)
# Launch with built-in datasets
dataviewer(mtcars)
dataviewer(iris)
# Launch with your own data
dataviewer(your_data_frame)
# Launch without data to use the import panel
dataviewer()
# Example with pharmaverseadam data (if package available)
# install.packages("pharmaverseadam")
dataviewer(pharmaverseadam::adae)
The interactive interface provides: - Complex
Filtering: Use dplyr expressions like
mpg > 20 & cyl == 4
- Column
Management: Select/deselect columns with intuitive checkboxes -
Data Sorting: Click column headers to sort data -
Code Export: Copy generated dplyr code for reproducible
analysis - Attribute Inspection: View variable labels,
types, and metadata - Search Functionality: Find
specific values across all columns - Variable Levels with NA
Visibility: Displays all distinct values of character and
factor variables, including NA
, within the quick filter
box.
Perfect for initial data investigation and understanding
dataviewR/
βββ R/
β βββ dataviewer.R
βββ man/
β βββ dataviewer.Rd
β βββ figures/
β βββ dataviewR_logo.png
βββ tests/
β βββ testthat/
β βββ test-dataviewer.R
βββ vignettes/
β βββ dataviewR-intro.Rmd
βββ inst/
β βββ app/
βββ data/
βββ DESCRIPTION
βββ NAMESPACE
βββ README.md
βββ NEWS.md
βββ LICENSE
shiny
, shinyjs
, DT
,
dplyr
, labelled
, forcats
stringr
, purrr
, tibble
,
datamods
, htmlwidgets
# Use dataviewR to explore, then copy the generated code
library(dplyr)
# After using dataviewer(mtcars), you might get code like:
<- mtcars %>%
filtered_data filter(mpg > 20 & cyl == 4) %>%
select(mpg, cyl, hp, wt)
?dataviewer
or
help(dataviewer)
vignette("dataviewR-intro", package = "dataviewR")
Found a bug or have a feature request?
When reporting issues, please include: 1. Your R version
(R.version
) 2. Package version
(packageVersion("dataviewR")
) 3. Operating system 4.
Reproducible example demonstrating the issue
Contributions are welcome! Please feel free to: - Report bugs and request features via GitHub Issues - Submit pull requests for bug fixes or enhancements - Improve documentation and examples - Share use cases and feedback
If you use dataviewR in your research or publications, please cite:
citation("dataviewR")
To cite dataviewR in publications use:
Madhan Kumar N (2025). dataviewR: An Interactive and Feature-Rich Data Viewer.
R package version 0.1.0. https://CRAN.R-project.org/package=dataviewR
A BibTeX entry for LaTeX users is:
@Manual{,
title = {dataviewR: An Interactive and Feature-Rich Data Viewer},
author = {Madhan Kumar N},
year = {2025},
note = {R package version 0.1.0},
url = {https://CRAN.R-project.org/package=dataviewR},
}
This package is licensed under the MIT License.
MIT License
Copyright (c) 2025 Madhan Kumar N
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Future enhancements may include:
Created and maintained by N Madhan Kumar
Making R data exploration more interactive and intuitive. β¨