Skip to contents

getHeaders() is a helper function to get headers into a long form tibble.

Usage

getHeaders(file_path)

Arguments

file_path

Required, A file path with extension of .csv or .xlsx.

Value

A tibble with 3 columns: header_1, header_2, and combined_header. header_1 is the first header row, header_2 is the second header row, and combined_header is the combination of the two headers.