implement_restrict_to_household_heads: Apply 'transform_restrict_to_household_heads()' to a single...

View source: R/transform_subset.R

implement_restrict_to_household_headsR Documentation

Apply 'transform_restrict_to_household_heads()' to a single file

Description

\lifecycle

experimental Applies 'transform_restrict_to_household_heads()' to a single LIS/LWS file.

Usage

implement_restrict_to_household_heads(file, file_name, variable)

Arguments

file

A LIS or LWS file.

file_name

The name of the LIS or LWS file.

variable

A character vector of length one with the variable that will be recoded to NA when relation is missing or not equal to 1000 (household head).

Value

A a file with the filtered age variable.


JosepER/lissyrtools documentation built on Jan. 26, 2025, 10:01 p.m.