{"id":14067605,"url":"https://github.com/thewileylab/shinyPostgreSQL","last_synced_at":"2025-07-30T02:30:48.013Z","repository":{"id":53600935,"uuid":"290391814","full_name":"thewileylab/shinyPostgreSQL","owner":"thewileylab","description":"A shiny module to authenticate your R Shiny Application with a PostgreSQL Database. ","archived":false,"fork":false,"pushed_at":"2023-02-14T16:30:19.000Z","size":225,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-04T08:36:01.986Z","etag":null,"topics":["r","shiny"],"latest_commit_sha":null,"homepage":"https://shinyPostgreSQL.thewileylab.org","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/thewileylab.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-08-26T04:09:00.000Z","updated_at":"2023-06-22T18:07:40.000Z","dependencies_parsed_at":"2024-02-19T19:15:56.924Z","dependency_job_id":"619dda18-fe22-43c6-82a6-5a46af865918","html_url":"https://github.com/thewileylab/shinyPostgreSQL","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/thewileylab/shinyPostgreSQL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thewileylab%2FshinyPostgreSQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thewileylab%2FshinyPostgreSQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thewileylab%2FshinyPostgreSQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thewileylab%2FshinyPostgreSQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thewileylab","download_url":"https://codeload.github.com/thewileylab/shinyPostgreSQL/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thewileylab%2FshinyPostgreSQL/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267798625,"owners_count":24145727,"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":["r","shiny"],"created_at":"2024-08-13T07:05:41.135Z","updated_at":"2025-07-30T02:30:47.742Z","avatar_url":"https://github.com/thewileylab.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\n# shinyPostgreSQL\n\n\u003c!-- badges: start --\u003e\n\u003c!-- badges: end --\u003e\n\nThe goal of shinyPostgreSQL is to allow a Shiny application to authenticate with a PostgreSQL database by prompting a user for appropriate credentials and forming a DBI connection object.\n\n## Installation\n\nYou can install the released version of shinyPostgreSQL from [GitHub](https://github.com/) with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"thewileylab/shinyPostgreSQL\")\n```\n\n## Example\n\nTo run a demo application:\n\n```{r demo, eval=F}\nshinyPostgreSQL::run_app()\n```\n\n## Usage\n\nTo integrate shinyPostgreSQL with your Shiny application place `postgresql_setup_ui()` and `postgresql_setup_server()` functions into your applications ui and server functions respectively.\n\n```{r example, eval=F}\nlibrary(shiny)\nlibrary(shinyPostgreSQL)\nui \u003c- fluidPage(\n  tags$h2('Connect to Database UI'),\n  postgresql_setup_ui(id = 'setup-namespace')\n  )\n\nserver \u003c- function(input, output, session) {\n  postgresql_setup_vars \u003c- postgresql_setup_server(id = 'setup-namespace')\n}\n\nif (interactive())\n  shinyApp(ui = ui, server = server)\n```\n\n## Code of Conduct\n\nPlease note that the shinyPostgreSQL project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthewileylab%2FshinyPostgreSQL","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthewileylab%2FshinyPostgreSQL","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthewileylab%2FshinyPostgreSQL/lists"}