Skip to content
@STAPM

Open access code for the Sheffield Tobacco and Alcohol Policy Modelling

Publicly accessible projects based on the STAPM code

Open access code for the Sheffield Tobacco and Alcohol Policy Modelling

Main website: https://stapm.gitlab.io/

Overview

The aim of the STAPM research programme at the School of Health and Related Research at the University of Sheffield, UK, is to identify and evaluate approaches to reducing the harm from tobacco and alcohol, with the aim of improving commissioning in a public health policy context, i.e. providing knowledge to support benefits achieved by policymakers.

The two objectives of the STAPM research programme are:

  • To evaluate the health and economic effects of past trends, policy changes or interventions that have affected alcohol consumption and/or tobacco smoking
  • To appraise the health and economic outcomes of potential future trends, changes to alcohol and/or tobacco policy or new interventions

The STAPM platform is not linked to the tobacco or alcohol industry and is conducted without industry funding or influence.

Code

The modelling was developed in R and R studio, with particular attention to utilising new developments in the software environment to organise, document, and version control code.

A set of internal STAPM R packages have been developed that contain code used for particular purposes, e.g. to estimate smoking state transition probabilities from cross-sectional survey data (see https://stapm.gitlab.io/software.html). Packaging up code into modular functions and packages makes the processes applied in modelling easier to document, adapt and reuse across projects.

The long term goal is to make the STAPM code open source. Some STAPM code is starting to become publicly available on this Github repository, but the majority is currently available only to the project team on Gitlab.

Popular repositories

  1. ukhlsclean ukhlsclean Public

    R package - cleaning Understanding Society data. This is a mirror of the code in the private Gitlab repository

    R 1

  2. mort.tools mort.tools Public

    R package - Computing mortality rates from tobacco and alcohol related causes. This is a mirror of the code in the private Gitlab repository

    HTML 1

  3. hesr hesr Public

    R package - Estimate rates and costs of hospital admissions related to tobacco and alcohol

    TeX 1

  4. hseclean hseclean Public

    R package - English and Scottish Health Survey Data Wrangling. This is a mirror of the code in the private Gitlab repository

    R

  5. tobalcepi tobalcepi Public

    R package - Relative Risks and Population Attributable Fractions of Diseases Related to Tobacco and Alcohol. This is a mirror of the code in the private Gitlab repository

    TeX 1

  6. smktrans smktrans Public

    R package and estimation workflow - Estimating smoking state transition probabilities from cross-sectional survey data

    TeX

Repositories

Showing 10 of 14 repositories
  • R 0 AGPL-3.0 0 0 0 Updated Apr 9, 2024
  • lfsclean Public

    R package - cleaning UK Labour Force Survey (LFS) data. This is a mirror of the code in the private Gitlab repository

    R 0 GPL-3.0 0 0 0 Updated Mar 12, 2024
  • hseclean Public

    R package - English and Scottish Health Survey Data Wrangling. This is a mirror of the code in the private Gitlab repository

    R 0 AGPL-3.0 0 0 0 Updated Feb 15, 2024
  • ukhlsclean Public

    R package - cleaning Understanding Society data. This is a mirror of the code in the private Gitlab repository

    R 1 GPL-3.0 0 0 0 Updated Jan 22, 2024
  • R 0 AGPL-3.0 0 0 0 Updated Jan 15, 2024
  • R 0 AGPL-3.0 0 0 0 Updated Jan 3, 2024
  • hesr Public

    R package - Estimate rates and costs of hospital admissions related to tobacco and alcohol

    TeX 1 AGPL-3.0 0 0 0 Updated Nov 26, 2023
  • tobalcepi Public

    R package - Relative Risks and Population Attributable Fractions of Diseases Related to Tobacco and Alcohol. This is a mirror of the code in the private Gitlab repository

    TeX 0 GPL-3.0 1 0 0 Updated Nov 23, 2023
  • scot_attrib_fractions Public

    Alcohol and tobacco attributable fractions for Scotland

    R 0 CC-BY-4.0 0 0 0 Updated Nov 10, 2023
  • smktrans Public

    R package and estimation workflow - Estimating smoking state transition probabilities from cross-sectional survey data

    TeX 0 CC-BY-4.0 0 0 0 Updated Nov 1, 2023

Top languages

Loading…

Most used topics

Loading…