{"id":20864746,"url":"https://github.com/the-strategy-unit/752_classify_op_activity","last_synced_at":"2026-04-26T14:31:24.950Z","repository":{"id":77589044,"uuid":"417027005","full_name":"The-Strategy-Unit/752_classify_op_activity","owner":"The-Strategy-Unit","description":"This repository contains the code and the reference tables used in the project, \"Classifying Outpatient Activity by Function\".","archived":false,"fork":false,"pushed_at":"2022-02-08T12:05:16.000Z","size":65,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-19T08:19:11.775Z","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/The-Strategy-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":"2021-10-14T07:13:27.000Z","updated_at":"2024-04-16T11:55:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"eea7faf7-9e07-4859-813f-d5119c774630","html_url":"https://github.com/The-Strategy-Unit/752_classify_op_activity","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Strategy-Unit%2F752_classify_op_activity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Strategy-Unit%2F752_classify_op_activity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Strategy-Unit%2F752_classify_op_activity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Strategy-Unit%2F752_classify_op_activity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/The-Strategy-Unit","download_url":"https://codeload.github.com/The-Strategy-Unit/752_classify_op_activity/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243238970,"owners_count":20259126,"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-11-18T05:44:08.001Z","updated_at":"2025-12-25T14:37:03.217Z","avatar_url":"https://github.com/The-Strategy-Unit.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Classifying Outpatient Activity by Function\nThis repository contains the SQL code, R code, and reference tables used in the Midlands Decision Support Network (MDSN) project, \"Classifying Outpatient Activity by Function\".\n\n## New - To use on SUS tables with SQL \n\n1. Extract these files to folder on local machine. \n2. Modify (as necessary) and run: sql_option_op.sql and sql_option_ip.sql. \n3. Run 752_master_sql_option.R script.\n\nOutputs a demo csv file (when this parameter set is set as TRUE in 752_master_sql_option.R).\n\n\n## For NCDR\n\"Master.R\" contains instructions and executes other necessary scripts. \n\n##\n\nGiven the relative simplicity of the algorithm, we suggest it could - with moderate effort - be re-written in SQL or in Python. See \u003chttps://www.midlandsdecisionsupport.nhs.uk/wp-content/uploads/2021/10/dsu_classify_op_appendix_v0.1.pdf\u003e for methods.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-strategy-unit%2F752_classify_op_activity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthe-strategy-unit%2F752_classify_op_activity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-strategy-unit%2F752_classify_op_activity/lists"}