Learn R Programming

vvshiny

vvshiny is a helpful package that provides helper and wrapper functions for making shinydashboards more easily. With modular functions and support for choices on multiple levels, vvshiny simplifies the process of creating interactive and dynamic Shiny dashboards.

Installation

You can install vvshiny directly from GitHub using the remotes package:

remotes::install_github("vusaverse/vvshiny")

Features

gantt_app

One of the main functions provided by vvshiny is gantt_app. This function allows you to create Gantt charts within your Shiny dashboard. It takes the following parameters: - df: The data frame containing the Gantt chart data. - df_config_gantt: The data frame specifying the configuration options for the Gantt chart. - id: (Optional) The ID of the Gantt chart component (default: "gantt").

Here's an example of how to use the gantt_app function:

library(vvshiny)

# Create the Gantt chart app
gantt_app(df = my_data, df_config_gantt = my_config, id = "my_gantt_chart")

Development

The package is still under active development. In addition to gantt more charts will be provided. In addition, the parameters of the exported functions will be made more flexible. Integrations with datamods and a LLM are also desired.

Contribution

  • Feel free to open an issue or suggest improvements
  • Pull requests are in general also welcome

Copy Link

Version

Install

install.packages('vvshiny')

Monthly Downloads

172

Version

0.1.1

License

MIT + file LICENSE

Maintainer

Corneel Den Hartogh

Last Published

July 19th, 2023

Functions in vvshiny (0.1.1)

pickerGanttVar

pickerGanttVar function
%>%

Pipe operator
pickerVar

pickerVar function
pickerSankeyVar

pickerSankeyVar function
pickerGanttValues

pickerGanttValues function
grid_histograms

Grid histogram
prep_df_summ_aggr

Prepare summarized and aggregated dataframe
vvshiny-package

vvshiny: Create Complex Shiny Apps More Easily
transform_input

Transform input
keep_values

Keep values
tabTableTwo

tabTableTwo function
present_and_correct

present_and_correct function
quietly_run

Quietly run a function
pickerSplitVar

pickerSplitVar function
stacked_composition_bar_chart

Stacked bar chart
ggplot_basic_settings

Set ggplot basic settings
pickerValues

pickerValues function
ggplotly_with_legend

Make ggplotly and add legend with color as title
single_module_ui

UI function for single module dashboard
sankey_plot

Create a Sankey plot using ggplot and ggalluvial
prep_table

Prepare a data table for displaying
tabTableOne

tabTableOne function
taskItemTab

taskItemTab function
wrapped_chart

Wrapped chart
prep_df_summ

Prepare summarized dataframe
prep_df

Prepare a dataframe
display_name

Get a user-friendly display name
bind_both_table

Bind both table
clean_pltly_legend

Clean the legend of a plotly object
basic_plot

Create a basic plot using ggplot
dropdownTabDirect

dropdownTabDirect function
bind_both

Bind both
grid_boxplots

Grid boxplot
keep_only_relevant_values

Keep only relevant values
pickerSankeyValues

pickerSankeyValues function
dropdownTabMenu

dropdownTabMenu function
gantt_plot

Create a Gantt plot using ggplot and plotly
gantt_app

Gantt Chart Shiny App
filter_with_lists

Filter with lists