recode_columns: recode_columns

View source: R/recode-with-table.R

recode_columnsR Documentation

recode_columns

Description

Recodes columns from passed row and returns just table with those columns and same rows as the data

Usage

recode_columns(
  data,
  variables_details_rows_to_process,
  data_name,
  log,
  print_note,
  else_default,
  tables
)

Arguments

data

The source database

variables_details_rows_to_process

rows from variable details that are applicable to this DB

data_name

Name of the database being passed

log

The option of printing log

print_note

the option of printing the note columns

else_default

default else value to use if no else is present

tables

A list of reference tables

Value

Returns recoded and labeled data


Big-Life-Lab/recodeflow documentation built on Jan. 19, 2024, 10:41 p.m.