{"id":23421398,"url":"https://github.com/nhsdigital/asc-user_survey_dq_report","last_synced_at":"2025-04-09T09:41:25.768Z","repository":{"id":199490527,"uuid":"703008133","full_name":"NHSDigital/ASC-User_Survey_DQ_Report","owner":"NHSDigital","description":"This is the DQ report code for Adult Social Care Statistics Publication","archived":false,"fork":false,"pushed_at":"2024-01-15T09:38:58.000Z","size":29,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-15T03:43:58.970Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/NHSDigital.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}},"created_at":"2023-10-10T12:25:57.000Z","updated_at":"2024-01-15T09:39:54.000Z","dependencies_parsed_at":"2023-10-10T14:39:46.533Z","dependency_job_id":null,"html_url":"https://github.com/NHSDigital/ASC-User_Survey_DQ_Report","commit_stats":null,"previous_names":["nhsdigital/ascs_dq_report"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2FASC-User_Survey_DQ_Report","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2FASC-User_Survey_DQ_Report/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2FASC-User_Survey_DQ_Report/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2FASC-User_Survey_DQ_Report/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NHSDigital","download_url":"https://codeload.github.com/NHSDigital/ASC-User_Survey_DQ_Report/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248016760,"owners_count":21034034,"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-23T02:15:01.696Z","updated_at":"2025-04-09T09:41:25.721Z","avatar_url":"https://github.com/NHSDigital.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Adult Social Care Survey Data Quality Reports.\r\n\r\nThe Adult Social Care Survey data quality reports are a summary of the councils survey submission. They show the aggregated totals alongside the councils data for last year and the England mean and values are flagged if the differ to the England mean. They provide a quick high level summary of the administrative and questionnaire data to allow councils to spot any potential issues in the data submitted\r\n\r\n\r\n# Initial package set up\r\n\r\nRun the following command to set up your environment correctly **from the root directory**\r\n\r\n```\r\npython -m venv .venv\r\n.\\.venv\\Scripts\\Activate.ps1\r\npython -m pip install -r requirements.txt\r\n```\r\n\r\nIf, while developing this package, you change the installed packages, please update the environment file using\r\n\r\n```\r\npip list --format=freeze \u003e requirements.txt\r\n```\r\n\r\n## VSCode specific setup\r\n\r\nFor Visual Studio Code it is necessary that you change your default interpreter to be the virtual environment you just created `.venv`. To do this use the shortcut `Ctrl-Shift-P`, search for `Python: Select interpreter` and select `.venv` from the list.\r\n\r\n\r\n# Running the code\r\n\r\nPlease check that the settings, including the path to the input files, are correct in `params.py`.\r\n\r\nThis codebase cleans the initial input file and outputs to seecure location before producing seven (7) tables needed to create each data quality report.\r\n\r\nDepending on which files you need, here are the short codes for outputting each from the base directory:\r\n    - to clean the input data: python -m Clean_input_data\r\n    - to produce the tables needed for DQ report: python -m create_dq_sheets\r\n    - to produce the data quality report for each council: python -m create_report\r\n    - To run the entire codebase to clean the data,create all the files and the report: python -m run_dq (takes longer to run)\r\n\r\nAfter running the codes, you will get a prompt asking to enter the council code for one particularly or \"*\" to prodce the reports for all councils. Enter the prompt and the DQ report will be saved in the location stated in the parameters.\r\n\r\n\r\n# Author(s)\r\nTomide Adeyeye, Liz Selfridge\r\n\r\nRepo Owner Contact Details: socialcare.statistics@nhs.net\r\n\r\n# Licence\r\n\r\nThe Personal Social Care Services codebase is released under the MIT License.\r\nThe documentation is © Crown copyright and available under the terms of the Open Government 3.0 licence.\r\n\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhsdigital%2Fasc-user_survey_dq_report","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnhsdigital%2Fasc-user_survey_dq_report","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhsdigital%2Fasc-user_survey_dq_report/lists"}