Skip to content

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

License

Notifications You must be signed in to change notification settings

STAPM/ukhlsclean

Repository files navigation

Understanding Society Data Cleaning

Project Status: Active – The project has reached a stable, usable state and is being actively developed.

Motivation

The motivation for ukhlsclean is to develop a set of standard functions for processing raw data from the UK Household Longitudinal Study, also known as Understanding Society, which is an ongoing longitudinal survey of individuals and households representative of the UK population. The survey collects a wide variety of demographic, behavioural, health, and labour market information.

Installation

ukhlsclean is open source and available on GitHub. If you are on a Windows machine you will need to install Rtools.
Once that is sorted, you can install the latest version or a specified version from GitHub with:

#install.packages("devtools")
#install.packages("getPass")
#install.packages("git2r")

devtools::install_git(
  "https://github.com/STAPM/ukhlsclean", 
  ref = "x.x.x",
  build_vignettes = FALSE
)

# Where uname is your GitHub user name.
# ref is the version you want to install - remove for the latest version

Citation

Morris, D and Chen, RKL (2023). ukhlsclean: Data Wrangling for Understanding Society - The UK Household Longitudinal Study. R package version [x.x.x]. University of Sheffield. https://github.com/STAPM/ukhlsclean . doi: https://doi.org/10.17605/OSF.IO/6K9NV

Projects

Some examples of projects making use of the ukhlsclean package are:

  1. Smoking, drinking, and work outcomes. Here the package is used to create a clean longitudinal dataset of smoking and drinking behaviours, labour market outcomes, and the covariates needed to model labour market outcomes.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published