goose_view_column_map: View Column Name Mapping

View source: R/goose_survey_tools.R

goose_view_column_mapR Documentation

View Column Name Mapping

Description

Display or retrieve the column name mapping from a renamed data frame

Usage

goose_view_column_map(data, return_df = FALSE)

Arguments

data

A data frame that was processed with goose_rename_columns()

return_df

Logical, if TRUE returns the mapping as a data frame (default: FALSE)

Value

If return_df = TRUE: Returns the mapping data frame If return_df = FALSE: Invisibly returns NULL and displays the mapping

Examples

## Not run: 
# View the mapping
goose_view_column_map(survey_clean)

# Get mapping as data frame
map_df <- goose_view_column_map(survey_clean, return_df = TRUE)

## End(Not run)

gooseR documentation built on Feb. 6, 2026, 5:07 p.m.