get_chi: Match on CHI numbers to a dataset using anon_chi

View source: R/get_chi.R

get_chiR Documentation

Match on CHI numbers to a dataset using anon_chi

Description

Match on CHI numbers to a dataset using anon_chi

Usage

get_chi(data, anon_chi_var = "anon_chi", drop = TRUE)

Arguments

data

a tibble or data frame

anon_chi_var

Anon CHI variable: the name of the variable containing anonymised CHI (default is anon_chi)

drop

Optional boolean indicating whether the existing anon_chi_var should be dropped - default is TRUE

Value

a tibble

Examples

## Not run: 
slf_1718 <- read_slf_individual("1718")
get_chi(slf_1718)
get_chi(slf_1718, drop = FALSE)

## End(Not run)

Moohan/slfhelper documentation built on April 25, 2024, 5:24 a.m.