{"id":14066906,"url":"https://github.com/aarong1/RshinyHelpers","last_synced_at":"2025-07-29T23:32:23.774Z","repository":{"id":151977603,"uuid":"415030261","full_name":"aarong1/RshinyHelpers","owner":"aarong1","description":"Helpers and elements to use in Rshiny","archived":false,"fork":false,"pushed_at":"2022-06-13T21:37:38.000Z","size":2503,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-04T06:36:55.810Z","etag":null,"topics":["data-structures","html","r","shiny","web-app"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aarong1.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-08T15:05:09.000Z","updated_at":"2022-02-25T22:47:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"6f9dbb59-5b55-44f2-933d-d9841dad7801","html_url":"https://github.com/aarong1/RshinyHelpers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aarong1/RshinyHelpers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarong1%2FRshinyHelpers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarong1%2FRshinyHelpers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarong1%2FRshinyHelpers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarong1%2FRshinyHelpers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aarong1","download_url":"https://codeload.github.com/aarong1/RshinyHelpers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aarong1%2FRshinyHelpers/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267780047,"owners_count":24143201,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-structures","html","r","shiny","web-app"],"created_at":"2024-08-13T07:05:19.501Z","updated_at":"2025-07-29T23:32:20.171Z","avatar_url":"https://github.com/aarong1.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\u003ch1\u003e RshinyHelpers \u003c/h1\u003e\n\n\u003c!---[![Lifecycle:\nexperimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)\n[![R-CMD-check](https://github.com/ramnathv/test9/workflows/R-CMD-check/badge.svg)](https://github.com/ramnathv/test9/actions)\n--\u003e\n\n\u003cimg align ='right' style='width:200px;padding:50px;' src='./man/figures/logo.png'\u003e\u003c/img\u003e\n\nA small package of utility functions for various applications including \n\n- Time Series \n- RShiny\n- Regex\n- Common patterns in handling unordered relations in Data Frames\n- Data quality checking and QA\n\nThe package, despite covering multiple operations and bases is named 'RShinyHelpers', mostly because it started out as a Shiny package, but also in recognition that most projects aspire to a functioning Shiny app at their end.  Shiny is an accessible and highly effective tool to communicate, and these functions support the end product.\n\n## Intro 👣\nThe package is a combination of utility functions for data tidying and data manipulation that don't fit into any tidy workflow.  For beginners do please see the tidyverse packages dplyr and tidyr for data manipulation and reformatting.\n\nA first hack at compiling useful functionality that I could not see elsewhere in the open source community.  **I do not advise using in a production environment.**  ALL feedback welcome.\n\n## Usage\n\n### Install the development version from [GitHub](https://github.com/) 👉\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"aarong1/RshinyHelpers\")\n```\n\n```{r setup, include=FALSE}\n\ndevtools::load_all()\n#library(RShinyHelpers)\n\n```\n\n## Load\n\n```{r load }\n# load the package into the namespace\nlibrary(RShinyHelpers)\n```\n\n## Examples\n\nSee some of the features displayed in a visually striking shiny application.  Run by loading the package and running `demoApp()`\n\n## Shiny\n\n### SliderInput \nWe can change individual slider colours in bootstrap\n![](man/figures/slider.png)\n\nThis function applies to the _individual_ slider components. We apply by referencing the index of the bootstrap slider in the order in which they appear in the ui.  See the docs for more on this\n\n### DT\nWe can change the default row **selection colour** on DataTables from the DT package.\n\n![](man/figures/rows.png)\n\nand we have really nice styled and formatted **value boxes**.  Surprising hard to come by given the maturity of shiny as a dashboarding tool.\n\n![](man/figures/vbox.png)\n\nMaking the boxes' values **reactive is easy!** As is formatting the **colour** to suit your dashboard's aesthetics\n\n![](man/figures/reactive1.png)\n![](man/figures/reactive2.png)\n\n## Text tidying \n\n`rmPWCap(c('He1l0 ! W0rId'),rm_all_white_space = F)`\n`#\u003e \"HE1L0 W0RID\"`\n\n`rmPWCap(c('He1l0 ! W0rId'),rm_all_white_space = T)`\n`#\u003e \"HE1L0W0RID\" `\n\n\n## Error finding\n\n`chk_nas()`\n\nsimply wraps \n\n`which(is.na(data.frame))`\n\nwhere as `chk_dups()`\n\nsimply wraps which entries in a dataframe is duplicated\n\n`which(duplicated(data.frame))`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faarong1%2FRshinyHelpers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faarong1%2FRshinyHelpers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faarong1%2FRshinyHelpers/lists"}