collect_column_names: Collect all column names

View source: R/utils-cols.R

collect_column_namesR Documentation

Collect all column names

Description

Collect all column names

Collect column names

Usage

collect_column_names(files)

get_headers(file)

Arguments

files

list of files from which to collect column names

file

a file to collect names from

Details

Reads the first line of each input file to collect column names. Creates a character vector and selects only unique entries after converting to lower case. This results in a vector of all possible column names.

Reads the first line of an input file to collect column names. Creates a character vector and converts to lower case.

Value

a character vector

a character vector

Functions

  • get_headers:


dylanrussellmd/nsqipr documentation built on Oct. 13, 2023, 11:01 a.m.