{"id":14068574,"url":"https://github.com/kalimu/shinyEventLogger","last_synced_at":"2025-07-30T04:31:26.245Z","repository":{"id":150990143,"uuid":"157194640","full_name":"kalimu/shinyEventLogger","owner":"kalimu","description":"Logging Events in Complex Shiny Apps","archived":false,"fork":false,"pushed_at":"2020-04-28T22:08:28.000Z","size":284,"stargazers_count":27,"open_issues_count":11,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-13T07:15:03.683Z","etag":null,"topics":["events","javascript-console","logging","mongodb","r","shiny"],"latest_commit_sha":null,"homepage":"https://kalimu.github.io/shinyEventLogger/","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/kalimu.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","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-11-12T10:15:58.000Z","updated_at":"2023-02-16T06:26:13.000Z","dependencies_parsed_at":"2023-04-18T09:50:47.341Z","dependency_job_id":null,"html_url":"https://github.com/kalimu/shinyEventLogger","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalimu%2FshinyEventLogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalimu%2FshinyEventLogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalimu%2FshinyEventLogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalimu%2FshinyEventLogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kalimu","download_url":"https://codeload.github.com/kalimu/shinyEventLogger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228082328,"owners_count":17866603,"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":["events","javascript-console","logging","mongodb","r","shiny"],"created_at":"2024-08-13T07:06:16.903Z","updated_at":"2024-12-04T09:31:03.494Z","avatar_url":"https://github.com/kalimu.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"---\noutput: github_document\neditor_options: \n  chunk_output_type: console\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/\"\n)\n```\n\n\n# shinyEventLogger\n\n[![Licence](https://img.shields.io/badge/licence-MIT-blue.svg)](https://www.r-project.org/Licenses/MIT) \n[![Lifecycle](https://img.shields.io/badge/lifecycle-experimental-organge.svg)](https://www.tidyverse.org/lifecycle/)\n[![Travis build status](https://travis-ci.org/kalimu/shinyEventLogger.svg?branch=master)](https://travis-ci.org/kalimu/shinyEventLogger)\n[![CRAN Status](https://www.r-pkg.org/badges/version-ago/shinyEventLogger)](https://cran.r-project.org/package=shinyEventLogger)\n\u003c!-- [![CRAN Checks](https://cranchecks.info/badges/summary/shinyEventLogger)](https://cran.r-project.org/web/checks/check_results_shinyEventLogger.html) --\u003e\n[![Monthly downloads badge](http://cranlogs.r-pkg.org/badges/last-month/shinyEventLogger)](https://cran.r-project.org/package=shinyEventLogger)\n[![Daily downloads badge](https://cranlogs.r-pkg.org/badges/last-day/shinyEventLogger?color=blue)](https://CRAN.R-project.org/package=shinyEventLogger)\n[![Weekly downloads badge](https://cranlogs.r-pkg.org/badges/last-week/shinyEventLogger?color=blue)](https://CRAN.R-project.org/package=shinyEventLogger)\n[![HitCount](http://hits.dwyl.io/kalimu/shinyEventLogger.svg)](http://hits.dwyl.io/kalimu/shinyEventLogger)\n\n\n\n\nby [Kamil Wais](https://kalimu.github.io/)\n\n\u003e **Logging Events in Complex Shiny Apps**. \n    Logging framework dedicated for complex shiny apps. \n    Different types of events can be logged (character string, \n    value of a variable, multi-line output of a function,\n    result of a unit test, custom error, warning, or diagnostic message).\n    Each event can be logged with a list of parameters that are event-specific, \n    common for a group of events, or common for all app events.\n    Logging can be done simultaneously to R console, \n    browser JavaScript console, a file log, and a database (currently MongoDB).\n    Log data can be further analyzed with the help of process-mining techniques \n    from 'bupaR' package.\n\n\n## Installation\n\n### Installing stable version from CRAN\n\n```{r, echo=TRUE, eval=FALSE, cache=FALSE}\ninstall.packages(\"shinyEventLogger\")\n```\n\n### Installing version in development from GitHub\n\n```{r, echo=TRUE, eval=FALSE, cache=FALSE}\n# install.packages('devtools')\ndevtools::install_github(\"kalimu/shinyEventLogger\")\n```\n\n## Demo Apps\n\nSimple app logging different events to R console, \nbrowser JavaScript console and to a file.\n\n```{r, echo=TRUE, eval=FALSE, cache=FALSE}\nshinyEventLogger::run_demo()\n```\n\nDashboard that allows for interactive analysis of events from demo app.\n\n```{r, echo=TRUE, eval=FALSE, cache=FALSE}\nshinyEventLogger::run_demo_dashboard()\n```\n\n## Hello World\n\n```{r, echo=TRUE, eval=FALSE, cache=FALSE}\nlibrary(shiny)\nlibrary(shinyEventLogger)\nset_logging()\nshinyApp(\n  ui = fluidPage(log_init()),\n  server = function(input, output) {\n    set_logging_session()\n    log_event(\"Hello World\")\n }\n)\n```\n\nExecuting the code above you should see in the console something like this:\n\n    |#1|EVENT|Hello World|FIRED|\n\n## Demo Shiny Apps\n\n* [DemoApp](https://kalimu.shinyapps.io/demoapp/) \n-- demo shiny app logging different types of events.\n* [DashboardApp](https://kalimu.shinyapps.io/dashboardapp/)\n-- demo dashboard showing examples how logged events from the `DemoApp` \ncan be analyzed\n\n## Documentation\n\nPackage docs (`pkgdown`): \n[https://kalimu.github.io/shinyEventLogger/index.html](https://kalimu.github.io/shinyEventLogger/index.html)\n\nProject description (on homepage): \n[https://kalimu.github.io/project/shinyeventlogger/](https://kalimu.github.io/project/shinyeventlogger/)\n\nFor other logging packages see:\n[https://github.com/daroczig/logger](https://github.com/daroczig/logger)\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkalimu%2FshinyEventLogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkalimu%2FshinyEventLogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkalimu%2FshinyEventLogger/lists"}