{"id":14068801,"url":"https://github.com/ablack3/shinyPivot","last_synced_at":"2025-07-30T04:32:15.424Z","repository":{"id":78493375,"uuid":"130120565","full_name":"ablack3/shinyPivot","owner":"ablack3","description":"A pivot table module for Shiny built on dplyr","archived":false,"fork":false,"pushed_at":"2019-08-25T01:15:29.000Z","size":74,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-30T08:29:46.623Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ablack3.png","metadata":{"files":{"readme":"README.md","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":"2018-04-18T20:51:48.000Z","updated_at":"2020-07-05T17:23:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"b1738c34-e037-43f5-b815-1443292888e5","html_url":"https://github.com/ablack3/shinyPivot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ablack3/shinyPivot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ablack3%2FshinyPivot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ablack3%2FshinyPivot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ablack3%2FshinyPivot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ablack3%2FshinyPivot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ablack3","download_url":"https://codeload.github.com/ablack3/shinyPivot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ablack3%2FshinyPivot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267809540,"owners_count":24147488,"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-30T02:00:09.044Z","response_time":70,"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":[],"created_at":"2024-08-13T07:06:24.677Z","updated_at":"2025-07-30T04:32:15.154Z","avatar_url":"https://github.com/ablack3.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"# shinyPivot - R package under construction\nA pivot table module for Shiny built on dplyr.\n\nThis is an R package containing three functions that allow for easy construction of pivot tables using Shiny.\nIt is built on dplyr so it should work with local dataframes and remote database connections (tbl_dbi objects from the dbplyr package). \nWhen a remote database table is used the summarization and filtering take place in the database and only the result is brought into R.\nThis allows for pivot tables that work on large datasets housed in fast column oriented databases.\n\nThe package contains three functions:\n- get_pivot_vars\n- pivot_module_UI\n- pivot_module\n\nThe user should be familiar with shiny modules. https://shiny.rstudio.com/articles/modules.html\n\nA simple example app looks like this.\n```\nlibrary(shiny)\nlibrary(dplyr)\n\n# local table\ndf1 \u003c- starwars %\u003e%\n     select_if(is.character)\n\n# using a database\ncon \u003c- DBI::dbConnect(RSQLite::SQLite(), path = \":memory:\")\ncopy_to(con, df1, \"star_wars\")\ndf2 \u003c- tbl(con, \"star_wars\")\n\npivot_vars1 \u003c- get_pivot_vars(df1)\npivot_vars2 \u003c- get_pivot_vars(df2)\n\nui \u003c- fluidPage(title = \"R pivot table\", \n     tabsetPanel(\n          tabPanel(   \"Local pivot\", pivot_module_UI(id = \"id1\", pivot_vars = pivot_vars1)),\n          tabPanel(\"Database pivot\", pivot_module_UI(id = \"id2\", pivot_vars = pivot_vars2))\n     )\n)\n\nserver \u003c- function(input, output, session){\n     callModule(pivot_module, id = \"id1\", ns_id = \"id1\", df = df1, pivot_vars = pivot_vars1)\n     callModule(pivot_module, id = \"id2\", ns_id = \"id2\", df = df2, pivot_vars = pivot_vars2)\n} \n\nshinyApp(ui = ui, server = server)\n```\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fablack3%2FshinyPivot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fablack3%2FshinyPivot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fablack3%2FshinyPivot/lists"}