Skip to contents

The function read_epg data reads in EPG data.

Usage

read_epg(data, extension = c("txt", "ANA", "csv"))

Arguments

data

As with other read_x functions, insert the file path for the data file here. If there are multiple files, they must be read in one at a time such as by using lapply.

extension

The file extension for the raw data that is to be read. The options are txt, ANA, and csv. If no extension is indicated, txt will be chosen by default.

Value

A tibble object corresponding to the type of data input is returned.

Details

Three file formats are supported: raw data text files with format time;volts, ANA annotation files with columns in order waveform, time, and volts (they do not need to be named), and lastly csv files of combined raw data and annotations with columns labeled time, volts, and waveform.