MyNixOS website logo
Description

Interactive Dataset Explorer for 'R' and 'SAS' and Other Data Formats.

A 'Shiny' application that provides nice interface for browsing, exploring, summarising, and converting datasets stored in 'SAS' (.sas7bdat, .xpt), CSV (.csv), and 'R' (.rds) formats. Users can register multiple directory-based libraries, interactively filter data using 'dplyr' expressions, inspect per-variable statistics, and export datasets to Excel, JSON, CSV, 'R' data, or 'SAS' transport formats.

Overview

QuickExplore provides a point-and-click Shiny interface modelled after SAS Studio’s library/dataset browser. It supports SAS (.sas7bdat, .xpt), CSV, and R (.rds) files and lets you explore, filter, summarise, and export datasets without writing any code.

The package also exposes a set of standalone R functions for use in scripts or other Shiny applications.

install package from GitHub

pak::pak("Ramsas88/QuickExplore")

Launching the Application

r{eval = FALSE} library(QuickExplore) run_app()

The app opens in your default browser. If you are running inside RStudio it opens in the Viewer pane.

First Steps

  1. Click Add Library in the left sidebar.
  2. Give the library a short name (e.g. MYLIB) and enter the path to a folder that contains your data files.
  3. Click a dataset name in the list to load it.
  4. Use the Data, Summary, and Convert tabs to explore and export.

Standalone Utility Functions

All helper functions used internally by the app are exported and can be called directly.

Reading a Dataset

df <- read_dataset("/path/to/data/demog.sas7bdat")
df <- read_dataset("/path/to/data/analysis.csv")
df <- read_dataset("/path/to/data/model_output.rds")

Listing Datasets in a Directory

datasets <- list_datasets("/path/to/data/")
print(datasets)

Variable Metadata

info <- get_variable_info(df)
head(info)

Descriptive Statistics

df <- data.frame(
  age  = c(25, 34, 45, 52, 28, NA),
  sex  = c("M", "F", "M", "F", "M", "F"),
  dose = c(10, 20, 10, 30, 20, 10)
)

# Numeric summary
library(QuickExplore)
compute_numeric_summary(df, c("age", "dose"))

# Categorical summary
compute_categorical_summary(df, "sex")

Grouped Summaries

compute_numeric_summary(df, c("age", "dose"), group_var = "sex")

Shiny Module API

Each tab in the application is implemented as a reusable Shiny module. You can embed any of these modules in your own Shiny apps:

library(shiny)
library(QuickExplore)

ui <- fluidPage(
  data_viewer_ui("viewer")
)

server <- function(input, output, session) {
  my_data <- reactiveVal(mtcars)
  my_path <- reactiveVal("mtcars")    # or a real file path
  data_viewer_server("viewer", my_data, my_path)
}

shinyApp(ui, server)

Available module pairs:

UI functionServer functionPurpose
dataset_browser_ui()dataset_browser_server()Library + dataset sidebar
data_viewer_ui()data_viewer_server()Interactive table with filters
summary_panel_ui()summary_panel_server()Descriptive statistics
converter_ui()converter_server()Multi-format export.
Metadata

Version

0.1.0

License

Unknown

Platforms (80)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    uefi
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-uefi
  • aarch64-windows
  • aarch64_be-none
  • arc-linux
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-linux
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • sh4-linux
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-uefi
  • x86_64-windows