{"id":14066010,"url":"https://github.com/Alioglcn/ReactablePlus","last_synced_at":"2025-07-29T21:34:48.955Z","repository":{"id":246954079,"uuid":"807992038","full_name":"Alioglcn/ReactablePlus","owner":"Alioglcn","description":"An R package to provide enhanced components and themes for reactable tables in Shiny applications.","archived":false,"fork":false,"pushed_at":"2024-08-06T12:11:31.000Z","size":83,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-13T07:11:02.506Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Alioglcn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-05-30T07:06:41.000Z","updated_at":"2024-08-06T12:11:36.000Z","dependencies_parsed_at":"2024-07-08T09:50:51.951Z","dependency_job_id":"be03004e-8460-42b9-8cc9-c9ea02f784fa","html_url":"https://github.com/Alioglcn/ReactablePlus","commit_stats":null,"previous_names":["alioglcn/reactableplus"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alioglcn%2FReactablePlus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alioglcn%2FReactablePlus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alioglcn%2FReactablePlus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alioglcn%2FReactablePlus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alioglcn","download_url":"https://codeload.github.com/Alioglcn/ReactablePlus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228052673,"owners_count":17862105,"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","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":[],"created_at":"2024-08-13T07:04:53.869Z","updated_at":"2024-12-04T05:31:15.509Z","avatar_url":"https://github.com/Alioglcn.png","language":"R","readme":"# ReactablePlus\n\nReactablePlus is an R package providing enhanced components and themes for reactable tables in Shiny applications.\n\n## Installation\n\nYou can install the package directly from GitHub:\n\n```r\n# Install the devtools package if you haven't already\ninstall.packages(\"devtools\")\n\n# Install the ReactablePlus package from GitHub\ndevtools::install_github(\"Alioglcn/ReactablePlus\")\n```\n\n## Usage\n\nHere’s an example of how to use the package:\n\n```r\nlibrary(shiny)\nlibrary(reactable)\nlibrary(ReactablePlus)\n\n# Define UI for application\nui \u003c- fluidPage(\n  # Application title\n  titlePanel(\"ReactablePlus Example\"),\n  \n  # Reactable table with custom theme\n  reactableOutput(\"table\")\n)\n\n# Define server logic\nserver \u003c- function(input, output) {\n  output$table \u003c- renderReactable({\n    reactable(\n      iris,\n      theme = ReactablePlus::theme()\n    )\n  })\n}\n\n# Run the application \nshinyApp(ui = ui, server = server)\n```\n\n## Functions and Features\n\n### Themes and Styles\n\nReactablePlus provides predefined themes and styles for reactable tables. The theme function allows you to apply a custom theme to your tables easily.\n\n```r\n# Create a reactable theme with custom padding\ncustom_theme \u003c- theme(paddingBottom = \"1rem\", paddingTop = \"1rem\")\n\n# Apply the theme to a reactable table\nreactable(iris, theme = custom_theme)\n```\n\n### Column Formatting\n\nReactablePlus includes several functions for formatting column values:\n\n\t•\tcol_format_dollar(digits): Format values as dollar amounts.\n\t•\tcol_format_per(digits): Format values as percentages.\n\t•\tcol_format_bps(digits): Format values as basis points.\n\t•\tcol_format_dif(digits): Format values with differences.\n\n```r\n# Example of formatting columns\nreactable(\n  iris,\n  columns = list(\n    Sepal.Length = col_format_dollar(2),\n    Sepal.Width = col_format_per(1),\n    Petal.Length = col_format_bps(0),\n    Petal.Width = col_format_dif(1)\n  )\n)\n```\n\n### Custom Cell Styles\n\nYou can define custom cell styles using the style_ and style.red.green functions:\n\n```r\n# Define custom cell style\ncustom_style \u003c- style_()\n\n# Apply custom style to a reactable table\nreactable(\n  iris,\n  defaultColDef = colDef(style = custom_style)\n)\n```\n\n## JavaScript Integration\n\nReactablePlus also supports custom JavaScript functions for advanced customization:\n\n```r\n# Include custom JavaScript for reactable\njs_code \u003c- js_script_reactable()\nshiny::tags$head(js_code)\n```\n\n## Dependencies\n\nReactablePlus depends on the following packages:\n\n\t•\tshiny\n\t•\treactable\n\t•\treactR\n\t•\thtmltools\n\nThese dependencies are automatically installed when you install ReactablePlus from GitHub.\n\n## Contributing\n\nWe welcome contributions to ReactablePlus! If you find a bug, have a suggestion, or want to contribute code, please create an issue or submit a pull request on GitHub.\n\n## Reporting Bugs\n\nIf you find a bug, please create an issue with a detailed description and steps to reproduce the problem.\n\n## Suggesting Enhancements\n\nIf you have an idea for an enhancement, please create an issue with a detailed description of the suggestion and its benefits.\n\n## Submitting Pull Requests\n\nIf you want to contribute code, fork the repository and create a new branch for your feature or bugfix. Ensure your code follows the existing coding style and passes all tests. Create a pull request with a detailed description of your changes and the problem they solve.\n\n## Improving Documentation\n\nIf you find any issues in the documentation or have suggestions for improvements, please create an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Acknowledgments\n\n\t•\treactable\n\t•\tshiny\n\t•\treactR\n\t•\thtmltools\n\nThank you for using ReactablePlus! If you have any questions or need assistance, feel free to open an issue on GitHub.\n\n\n\n\n\n\n\n\n \n","funding_links":[],"categories":["R"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlioglcn%2FReactablePlus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAlioglcn%2FReactablePlus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAlioglcn%2FReactablePlus/lists"}