shineDSJSON is a lightwight dataset-json viewer, realised as R Shiny APP (https://shiny.rstudio.com/).
This project is developed and released during the CDISC Dataset-JSON Hackathon 2022. The main purpuse is to demonstrate how easy it is to create tools for visualising dataset-json files.
DS JSON files can be loaded from remote via URL or from a local source.
The app supports independent regex search in each column and the whole file as well as exporting the table as csv or excel file. Moreover the file can be printed out, respecting the current search.
This project works on R version 4.2.1, previous versions may not work. Moreover this projects needs devtools installed. If you call the viewer the first time it will install a few more packages.
#necessary if devtools are not already installed
library(pacman)
pacman::p_load(devtools)
# install shineDSJSON from github
install_github("MichelLutz1994/shineDSJSON")
library(shineDSJSON)
# run viewer, may install some packages at the first run
shineDSJSON::runViewer()
Load DS JSON file from local or remote source:
Load the table by pushing the load button and switch to the show register:
Search the table using regex:
Feel free to uses this code snippes in every way possible.