Code Monkey home page Code Monkey logo

asc-overview's Introduction

Adult Social Care Overview

This report brings together the latest data collected by NHS Digital across different aspects of adult social care supported by local authorities. It aims to produce an insightful and coherent narrative about the trends in adult social care in England.

The report looks at data collected by NHS Digital from local authorities, typically spanning the time period from 2015-16 up to the latest available data.

Initial package set up

Run the following command to set up your environment correctly from the root directory

python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -r requirements.txt

If, while developing this package, you change the installed packages, please update the environment file using

pip list --format=freeze > requirements.txt

VSCode specific setup

For 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.

Git Hook Setup

Please running the following command to setup the Git Hooks.

python .\scripts\setup-hooks.py

You will now be prompted when committing to add a JIRA ticket number to your commit message.

Please do not use the VS Code Git Tab to commit as this will no longer work.

However, you can use it for adding files to be committed.

Running the code

Please check that the settings, including the path to the input files, are correct in ascs/params.py.

You can then create the publication (from the base directory) using

python -m asc_overview.create_publication

You can run the tests on the repository using (from the base directory)

pytest

Package structure

The main steps of the code are documented in ascs_overview/create_publication.py

Important things to know

Running for next year

Create a new params file in the params_json folder by duplicating the previous year's json file. Update the parameters accordingly. Be wary of the cell references as these may need to be changed if the data source publications change. You will also need to output cell references so that the timeseries data is outputted in the correct place. The template excel file may also need to be changed to reflect the updates of the previous year.

Link to the publication

Report: https://digital.nhs.uk/data-and-information/publications/statistical/adult-social-care-statistics-in-england/an-overview

Authors

Adam Carruthers, Amaan Ibn-Nasar, Raman Chahal

Repo Owner Contact Details: [email protected]

Licence

The Personal Social Services Adult Social Care Overview publication codebase is released under the MIT License. The documentation is © Crown copyright and available under the terms of the Open Government 3.0 licence.

asc-overview's People

Contributors

rach1998 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

asc-overview's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.