A collection of tools to aid with visualisation of screening uptake data
Project description
Visualisation Tools for Screening
Version 1.0.0
Table of Contents
- Package Purpose
- Package Aims
- Organisation Overview and Feature Description
- Installation
- External References
- Demo project
- Example Plots
Package Purpose
In the UK, there are three national screening programmes for cancer: bowel, breast and cervical. The purpose of screening is to detect early signs or increased risk of cancer, and to tailor healthcare accordingly. The aim is more successful treatment or in some instances, prevention of cancer, and therefore better patient outcomes. One clear example of this is in the breast cancer screening programme that was introduced in 1988, which led to significant decreases in mortality from breast cancer over the next 10 years (Blanks, 2000).
Screening uptake datasets can be used to help inform public health policy around screening services, and can provide valuable insights into the effectiveness of current screening programmes. The python package accompanying this user guide offers visualisation tools to help analyse screening uptake datasets, allowing users to quickly and easily create visualisations of relevant data that can be used to inform policy and decision making, especially with application to the National Health Service (NHS) screening programmes for bowel, breast and cervical cancer.
The package can be used to clean and pre-process NHS screening uptake datasets and generate a variety of different visualisations and can be customised to display data in formats such as histograms, bar charts, lineplots and choropleth maps, making it easy to compare different years and regions. This package can be used to display trends in screening uptake over time, and can be used to identify potential areas for improvement in screening uptake.
Package Aims
- Offer data cleaning and Pre-processing functions for NHS screening uptake datasets
- To offer high-level visualisation of these datasets and allow user configuration
Organisation Overview and Feature Description
An overview of the package organisation and features
This python package contains subfolders: 'vis_tools', 'data', 'Shapefiles' and 'testing':
- vis_tools contains files necessary to execute visualisations
- datasets.py : contains functions for loading and pre-processing NHS screening uptake datasets for cervical, breast and bowel cancer
- baseline.py : contains classes and functions necessary for creating basic summary statistic graphs, such as histograms and line plots
- visualisation.py : contains classes and functions for more advanced visualisation tools, such as geographical choropleth maps and rank-based change graphs
- data contains sample data files
- bowel_cancer_data.csv : dataset containing bowel cancer screening programme uptake across the UK from 2010-2016
- breast_cancer_data.csv : dataset containing breast cancer screening programme uptake across the UK from 2010-2016
- cervical_cancer_data.csv : dataset containing cervical cancer screening programme uptake across the UK from 2010-2016
- Shapefiles contains shapefiles necessary for the Choropleth map to run
- testing contains a demo project, demonstrating the functionality and usage of the package
Installation and setting up environment
A guide on installation of the package
pip install vistools_for_screening
The environment required to run this package is contained in the environment.yml file.
To set up the environment: conda env create -n NEW_NAME --file environment.yml
External Resources and References
(1) Blanks, R.G. (2000) “Effect of NHS breast screening programme on mortality from breast cancer in England and Wales, 1990-8: Comparison of observed with predicted mortality,” BMJ, 321(7262), pp. 665–669. Available at: https://doi.org/10.1136/bmj.321.7262.665.
Demo Project
Please see the demo.ipynb file for a Jupyter notebook containing an annotated demo project
Example Plots
Basic Descriptive Plots for Data Exploration
Basic Line Plots to compare areas over a Time period
Regional and London Analysis Choropleth Maps
Deprivation Plots
Rank-based Change Interactive plots
Country-wide lineplots
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for vistools_for_screening666-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aeab48e52373e64d97d43e77aefe396ab3f68c7eada8bb32ceb4e0ec18a94bea |
|
MD5 | f66d9fa6aa1057519b05113d7be55d83 |
|
BLAKE2b-256 | 637f90ed56a9f453d7a8072e600761b4764bb73797d420b98a2933418b2da739 |
Hashes for vistools_for_screening666-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55263dcd6865765e6374ca715a89326a908f56c4fb5744c0e4fecc8f182b0476 |
|
MD5 | afcd67630270308d9d28becb1976f374 |
|
BLAKE2b-256 | ad0d68bb70abd6fa57a59b2965f2e8a116624e4c3fd78178937b240a3c1f0942 |