{"id":23628579,"url":"https://github.com/nhs-transformation-unit/primary-care-theograph","last_synced_at":"2025-11-08T00:30:38.123Z","repository":{"id":260107607,"uuid":"824083419","full_name":"NHS-Transformation-Unit/Primary-Care-Theograph","owner":"NHS-Transformation-Unit","description":"Repository containing the codebase for the creation of a proof of concept patient timeline tool (theograph) for primary care in Cheshire and Merseyside.","archived":false,"fork":false,"pushed_at":"2024-10-29T13:49:05.000Z","size":369,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T00:46:32.380Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NHS-Transformation-Unit.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":"2024-07-04T10:26:52.000Z","updated_at":"2024-10-29T13:49:10.000Z","dependencies_parsed_at":"2024-10-29T15:44:48.541Z","dependency_job_id":null,"html_url":"https://github.com/NHS-Transformation-Unit/Primary-Care-Theograph","commit_stats":null,"previous_names":["nhs-transformation-unit/primary-care-theograph"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHS-Transformation-Unit%2FPrimary-Care-Theograph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHS-Transformation-Unit%2FPrimary-Care-Theograph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHS-Transformation-Unit%2FPrimary-Care-Theograph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHS-Transformation-Unit%2FPrimary-Care-Theograph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NHS-Transformation-Unit","download_url":"https://codeload.github.com/NHS-Transformation-Unit/Primary-Care-Theograph/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239543548,"owners_count":19656374,"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-12-28T00:46:36.221Z","updated_at":"2025-02-18T20:26:24.889Z","avatar_url":"https://github.com/NHS-Transformation-Unit.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"images/TU_logo_large.png\" alt=\"TU logo\" width=\"200\" align=\"right\"/\u003e\n\n\u003cbr/\u003e\n\n\u003cbr/\u003e\n\n\u003cbr/\u003e\n\n\n# Theograph Proof of Concept Dashboard\n\nThe repository contains all code used by the NHS Transformation Unit analytics team during the development of the Theograph Proof of Concept Dashboard for the University of Liverpool.\n\n\u003cbr/\u003e\n\n## Using the Repository\n\nThis codebase contains:\n\n1. The `SQL` script needed for extracting the raw DynAirX data ready for processing within RStudio.\n2. The `R` scripts needed for processing the raw DynAirX data ready for importing into the theograph dashboard.\n3. The `R` and `.Rmd` scripts needed for creating and visualising the processed DynAirX data as an interactive dashboard.\n\nTo recreate the data pipeline created for this dashboard, users will need to ensure their working directory is structured as outlined in the [Repository Structure](##-Repository-Structure) section of this ReadMe. This can be undertaken by cloning the repository using Git or by simply downloading a zipped version of the tool from this repository.\n\nFor a more detailed guidance on how to recreate the Theograph Proof of Concept Dashboard using this repository, please see the `Theograph_creation_guidance.md` file located within the documentation subfolder.\n\n\u003cbr/\u003e\n\n## Repository Structure\n\nThe current structure of the repository is detailed below:\n\n``` plaintext\n\n├─── data\n     ├─── processed_extracts\n     └─── raw_extracts\n├─── documentation\n     └─── project_documentation\n├─── images\n└─── src\n     ├─── config\n     |    └─── r_scripts\n     ├─── data_extraction\n     |    └─── sql_scripts\n     ├─── data_processing\n     |    └─── r_scripts\n     └─── visualisation\n\n```\n\n\u003cbr/\u003e\n\n### `data`\nThis folder contains subfolders relating to both the raw and processed extracts. Due to GDRP, the (fictional) patient data files will not be uploaded to GitHub but placeholders are included in the repository to maintain subfolder structure.\n\n### `documentation`\nThis folder contains the project documentation file, `Theograph_creation_guidance.md`.\n\n### `images`\nThis folder contains all images used in the outputs or repository such as the Data Into Action logo.\n\n### `src`\nAll code is stored within the `src` folder. This is then divided into `config` (R scripts), `data_extraction` (SQL scripts), `data_processing` (R scripts) and `visualisation` (RMD scripts).\n\n\u003cbr/\u003e\n\n## Contributors\n\nThis repository has been created and developed by:\n-   [Elliot Royle](https://github.com/elliotroyle)\n-   [Andy Wilson](https://github.com/ASW-Analyst)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhs-transformation-unit%2Fprimary-care-theograph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnhs-transformation-unit%2Fprimary-care-theograph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhs-transformation-unit%2Fprimary-care-theograph/lists"}