Skip to contents

This will have no effect if the data frame does not contain notes in the header. The function identifies a note as anything inside square brackets [], check the number of notes removed in the message is as you expect.

Usage

remove_notes(data, trim = TRUE)

Arguments

data

Data frame with column names

trim

Logical - TRUE to trim whitespace after removing notes, otherwise FALSE, default is TRUE.