Skip to contents

The switchcol_nfi() function allows switching between the original Korean column names and English column names. If the input data has English column names, it changes them to the original Korean names, and vice versa.

Usage

switchcol_nfi(data)

Arguments

data

: A list generated by read_nfi.

Value

A list of dataframes with switched column names.

Details

Important: Data with original Korean column names cannot be used with any read_nfi functions except colchange_nfi() itself. The option to revert to original Korean names is provided solely for users who wish to store or process the NFI data with original column names.

Examples


data("nfi_donghae")

#Switch column names from English to original Korean names
nfi_donghae_kor <- switchcol_nfi(nfi_donghae)

# Switch column names from original Korean to English names
nfi_donghae_eng <- switchcol_nfi(nfi_donghae_kor)