crosswalk_table_create: Create a crosswalk table

View source: R/crosswalk.R

crosswalk_table_createR Documentation

Create a crosswalk table

Description

Create a crosswalk table with the source variable names and variable labels.

Usage

crosswalk_table_create(metadata)

is.crosswalk_table(ctable)

Arguments

metadata

A metadata table created by metadata_create.

ctable

A table to validate if it is a crosswalk table.

Details

The table contains a var_name_target and val_label_target column, but these values need to be set by further manual or reproducible harmonization steps.

Value

A tibble with raw crosswalk table. It contains all harmonization tasks, but the target values need to be set by further manipulations.

See Also

Other harmonization functions: collect_val_labels(), crosswalk_surveys(), harmonize_na_values(), harmonize_survey_values(), harmonize_values(), harmonize_var_names(), label_normalize()

Other metadata functions: create_codebook(), metadata_create(), metadata_survey_create()


antaldaniel/retroharmonize documentation built on Dec. 11, 2023, 10:49 p.m.