read_AG_counts: Read data table files containing count values

View source: R/Read_Counts.R

read_AG_countsR Documentation

Read data table files containing count values

Description

Read data table files containing count values

Usage

read_AG_counts(
  file,
  verbose = FALSE,
  header = FALSE,
  header_timestamp_format = "%m/%d/%Y %H:%M:%S",
  ...
)

Arguments

file

A character scalar giving path to an automatically-generated csv file with count values

verbose

A logical scalar: Print processing updates?

header

A logical scalar: Are variable names contained in first row of file?

header_timestamp_format

character. Space delimited format of the date and time in the file header (default is %m/%d/%Y %H:%M:%S)

...

Further arguments passed to data.table::fread

Value

A data frame reflecting the data contained in the csv file

Examples

AG_counts <- read_AG_counts(
  system.file(
    "extdata",
    "example1sec.csv",
    package = "AGread"
  ),
  header = TRUE
)
head(AG_counts)


AGread documentation built on Sept. 13, 2022, 5:06 p.m.