shinyjs - Easily improve the user experience of your Shiny apps in seconds

  •        24

shinyjs lets you perform common useful JavaScript operations in Shiny apps that will greatly improve your apps without having to know any JavaScript. Examples include: hiding an element, disabling an input, resetting an input back to its original value, delaying code execution by a few seconds, and many more useful functions for both the end user and the developer. shinyjs can also be used to easily call your own custom JavaScript functions from R.

https://deanattali.com/shinyjs
https://github.com/daattali/shinyjs

Tags
Implementation
License
Platform

   




Related Projects

radiant - Business analytics using R and Shiny

  •    R

Radiant is an open-source platform-independent browser-based interface for business analytics in R. The application is based on the Shiny package and can be run locally or on a server. Radiant was developed by Vincent Nijs. Please use the issue tracker on GitHub to suggest enhancements or report problems: https://github.com/radiant-rstats/radiant/issues. For other questions and comments please use radiant@rady.ucsd.edu. Radiant is interactive. Results update immediately when inputs are changed (i.e., no separate dialog boxes) and/or when a button is pressed (e.g., Estimate in Model > Estimate > Logistic regression (GLM)). This facilitates rapid exploration and understanding of the data.

UpSetR - An R implementation of the UpSet set visualization technique published by Lex, Gehlenborg, et al

  •    R

UpSetR generates static UpSet plots. The UpSet technique visualizes set intersections in a matrix layout and introduces aggregates based on groupings and queries. The matrix layout enables the effective representation of associated data, such as the number of elements in the aggregates and intersections, as well as additional summary statistics derived from subset or element attributes. For further details about the original technique see the UpSet website. You can also check out the UpSetR shiny app. Here is the source code for the shiny wrapper.

DT - R Interface to the jQuery Plug-in DataTables

  •    R

This package provides a function datatable() to display R data via the DataTables library (N.B. not to be confused with the data.table package). See the full documentation at https://rstudio.github.io/DT. Please use Github issues only if you want to file bug reports or feature requests, and you are expected to ask questions on StackOverflow with at least the tags r and dt.

timevis - Create interactive timeline visualizations in R

  •    R

Copyright 2016 Dean Attali. Licensed under the MIT license. timevis lets you create rich and fully interactive timeline visualizations in R. Timelines can be included in Shiny apps and R markdown documents, or viewed from the R console and RStudio Viewer. timevis includes an extensive API to manipulate a timeline after creation, and supports getting data out of the visualization into R. This package is based on the vis.js Timeline module and the htmlwidgets R package.

DiagrammeR - Graph and network visualization using tabular data in R

  •    R

With the DiagrammeR package you can create, modify, analyze, and visualize network graph diagrams. The output can be incorporated into RMarkdown documents, integrated with Shiny web apps, converted to other graph formats, or exported as image files. This package is made possible by the htmlwidgets R package, which provides an easy-to-use framework for bringing together R and JavaScript.


usethis - Set up commonly used 📦 components

  •    R

usethis is a workflow package: it automates repetitive tasks that arise during project setup and development, both for R packages and non-package projects. Most use_*() functions operate on the active project: literally, a directory on your computer. If you’ve just used usethis to create a new package or project, that will be the active project. Otherwise, usethis verifies that current working directory is or is below a valid project directory and that becomes the active project. Use proj_get() or proj_sitrep() to manually query the project and read more in the docs.

leaflet - R Interface to Leaflet Maps

  •    Javascript

Leaflet is an open-source JavaScript library for interactive maps. This R package makes it easy to create Leaflet maps from R. In addition to the usual R package documentation, we also have extensive docs and examples at: http://rstudio.github.io/leaflet You may use Github issues to file bug reports or feature requests, and ask questions on StackOverflow or in the Shiny mailing list.

r-color-palettes - Comprehensive list of color palettes available in r

  •    R

The goal of this repository is to have a one stop destination for anyone looking for a color palette to use in r. If you would like to help/contribute please feel free post an issue, PR or send a email to emilhhvitfeldt@gmail.com. Further down the page is all the palettes available in the R ecosystem ordered alphabetically by package name. A list of palettes ordered by type can be found here Type sorted palettes to shorten the length of this page.

sparklyr - R interface for Apache Spark

  •    R

If you use the RStudio IDE, you should also download the latest preview release of the IDE which includes several enhancements for interacting with Spark (see the RStudio IDE section below for more details). The returned Spark connection (sc) provides a remote dplyr data source to the Spark cluster.

highcharter - R wrapper for highcharts based on htmlwidgets

  •    R

R wrapper for highcharts. highcharter bring all the highcharts capabilites so it is recommended know how highcharts API works to take a major advantage of this package. You can look some demos charts and explore chart types, syntax and all what highcharts can do. Highcharter has a dependency on Highcharts, a commercial JavaScript charting library. Highcharts offers both a commercial license as well as a free non-commercial license. Please review the licensing options and terms before using this software, as the highcharter license neither provides nor implies a license for Highcharts.

plotly - An interactive graphing library for R

  •    R

An R package for creating interactive web graphics via the open source JavaScript graphing library plotly.js.NOTE: The CRAN version of plotly is designed to work with the CRAN version of ggplot2, but at least for the time being, we recommend using the development versions of both plotly and ggplot2 (devtools::install_github("hadley/ggplot2")).

ggpage - Creates Page Layout Visualizations in R

  •    R

ggpage is a package to create pagestyled visualizations of text based data. It uses ggplot2 and final returns are ggplot2 objects. In this new version I have worked to include a lot of use cases that wasn’t available in the first version. These new elements are previewed in the vignette.

engsoccerdata - English and European soccer results 1871-2017

  •    R

This R package is mainly a repository for complete soccer datasets, along with some built-in functions for analyzing parts of the data. Currently I include three English ones (League data, FA Cup data, Playoff data - described below), several European leagues (Spain, Germany, Italy, Holland, France, Belgium, Portugal, Turkey, Scotland, Greece) as well as South Africa and MLS. Free to use for non-commerical use. Compiled by James Curley.

wordcloud2 - R interface to wordcloud for data visualization.

  •    Javascript

R interface to wordcloud for data visualization. Timdream's wordcloud2.js is used in this package. knitr and shiny is support in wordcloud2 package.

hrbrthemes - :lock_with_ink_pen: Opinionated, typographic-centric ggplot2 themes and theme components

  •    R

This is a very focused package that provides typography-centric themes and theme components for ggplot2. It’s a an extract/riff of hrbrmisc created by request. The core theme: theme_ipsum (“ipsum” is Latin for “precise”) uses Arial Narrow which should be installed on practically any modern system, so it’s “free”-ish. This font is condensed, has solid default kerning pairs and geometric numbers. That’s what I consider the “font trifecta” must-have for charts. An additional quality for fonts for charts is that they have a diversity of weights. Arial Narrow (the one on most systems, anyway) does not have said diversity but this quality is not (IMO) a “must have”.

networkD3 - D3 JavaScript Network Graphs from R

  •    R

This README includes information on set up and a number of basic examples. For more information see the package's main page. networkD3 began as a port of d3Network package to the htmlwidgets framework. d3Network is no longer supported.

knitr - A general-purpose tool for dynamic report generation in R

  •    R

The R package knitr is a general-purpose literate programming engine, with lightweight API's designed to give users full control of the output without heavy coding work. It combines many features into one package with slight tweaks motivated from my everyday use of Sweave. See the package homepage for details and examples. See FAQ's for a list of frequently asked questions (including where to ask questions). Note that if you want to build the source package via R CMD INSTALL without a previously installed version of knitr, you must either pre-install knitr from CRAN, or run R CMD INSTALL on this source repo, otherwise R CMD build will fail (which is probably a bug of base R).

heroku-buildpack-r - Heroku buildpack for R (http://www.r-project.org)

  •    Shell

NOTE: This version is DEPRECATED. Please use the heroku-16 branch. This is a Heroku buildpack for applications which use R for statistical computing and CRAN for R packages.

rtweet - 🐦 R client for interacting with Twitter's [stream and REST] APIs

  •    R

R client for accessing Twitter’s REST and stream APIs. Check out the rtweet package documentation website. All users must be authorized to interact with Twitter’s APIs. To become authorized, follow the instructions below to (1) make a Twitter app and (2) create and save your access token (using one of the two authorization methods described below).

tidybayes - Bayesian analysis + tidy data + geoms (R package)

  •    R

tidybayes is an R package that aims to make it easy to integrate popular Bayesian modeling methods into a tidy data + ggplot workflow. Composing data for use with the model. This often means translating data from a data.frame into a list , making sure factors are encoded as numerical data, adding variables to store the length of indices, etc. This package helps automate these operations using the compose_data function, which automatically handles data types like numeric, logical, factor, and ordinal, and allows easy extensions for converting other datatypes into a format the model understands by providing your own implementation of the generic as_data_list.