read_file: Read a file of an arbitrary type

View source: R/utils_io.R

read_fileR Documentation

Read a file of an arbitrary type

Description

Read a file of an arbitrary type

Usage

read_file(path_to_file, verbose = FALSE, csv_opt = "data.table::fread", ...)

Arguments

path_to_file

[chr] full path with extension

verbose

[lgl] noisy or quiet function?

csv_opt

[chr] name spaced function call for csv reads (default '"data.table::fread"')

...

[any] additional arguments to pass to the reader function

Value

[file] an object of appropriate file type


epi-sam/SamsElves documentation built on June 12, 2025, 7 a.m.