{"id":23786616,"url":"https://github.com/seabbs/intro_to_tb_models","last_synced_at":"2026-05-17T10:36:46.063Z","repository":{"id":99744940,"uuid":"106610284","full_name":"seabbs/intro_to_tb_models","owner":"seabbs","description":"A shiny app recreating the models used in the practicals for the Intro to TB modelling course at the 2017 Union Conference","archived":false,"fork":false,"pushed_at":"2018-04-24T18:32:02.000Z","size":53244,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-14T08:46:45.818Z","etag":null,"topics":["course","docker","infectious-diseases","modelling","shiny","tb-models","tuberculosis"],"latest_commit_sha":null,"homepage":"http://www.seabbs.co.uk/shiny/intro_to_tb_models","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seabbs.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":"2017-10-11T21:14:48.000Z","updated_at":"2018-04-24T18:32:03.000Z","dependencies_parsed_at":"2023-08-01T00:31:26.458Z","dependency_job_id":null,"html_url":"https://github.com/seabbs/intro_to_tb_models","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/seabbs/intro_to_tb_models","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seabbs%2Fintro_to_tb_models","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seabbs%2Fintro_to_tb_models/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seabbs%2Fintro_to_tb_models/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seabbs%2Fintro_to_tb_models/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seabbs","download_url":"https://codeload.github.com/seabbs/intro_to_tb_models/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seabbs%2Fintro_to_tb_models/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33135105,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["course","docker","infectious-diseases","modelling","shiny","tb-models","tuberculosis"],"created_at":"2025-01-01T14:27:23.857Z","updated_at":"2026-05-17T10:36:46.048Z","avatar_url":"https://github.com/seabbs.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"README-\"\n)\n```\n\n# Introduction to TB Models\n\nA shiny app reproducing the models used in the Introduction to Tuberculosis modelling course practicals, run by [TB MAC](http://tb-mac.org/) at the [2017 Union conference](http://guadalajara.worldlunghealth.org/about-us). See the [TB MAC](http://tb-mac.org/) website for course materials and further resources. The models used in this course, and reproduced in this shiny app, were based on one published by [Lin et al.](http://www.who.int/bulletin/volumes/90/10/11-101436.pdf)\n\n## Installing the shiny app locally\n\n## Manual Install\n\nTo install and run the shiny app locally on your own computer you will need to first install [R](https://www.r-project.org/), it is also suggested that you install [Rstudio](https://www.rstudio.com/products/rstudio/download/). After downloading the source code from [this repository](https://www.github.com/seabbs/intro_to_tb_models) click on the `intro_to_tb_models.Rprof` file, this will open an Rstudio window. Type the following code into the command line;\n\n```{r, eval = FALSE}\ninstall.packages(\"shiny\")\ninstall.packages(\"shinydashboard\")\ninstall.packages(\"DT\")\ninstall.packages(\"ggplot2\")\ninstall.packages(\"tidyr\")\ninstall.packages(\"dplyr\")\ninstall.packages(\"tibble\")\ninstall.packages(\"rmarkdown\")\ninstall.packages(\"plotly\")\n```\n\nTo run the app open the `ui.R` file and press run, depending on your computer this may take some time.\n\n\n### Using Docker\n\n[Docker](https://www.docker.com/what-docker) is a container software that seeks to eliminate \"works on my machine\" issues. For installation and set up instructions see [here](https://www.docker.com/community-edition). \n\nThis docker container is based on the [shiny](https://hub.docker.com/r/rocker/shiny/) docker image, see [here](https://github.com/rocker-org/shiny) for instructions on use. To run the docker image run the following in a bash shell:\n\n```{bash, eval = FALSE}\ndocker pull seabbs/intro_to_tb_models\ndocker run --rm -p 3838:3838 seabbs/intro_to_tb_models\n```\n\nThe shiny app can be found on port `:3838` at your local machines ip (or localhost on windows).\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseabbs%2Fintro_to_tb_models","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseabbs%2Fintro_to_tb_models","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseabbs%2Fintro_to_tb_models/lists"}