Skip to contents

Reads observations, locations, and target files from dir (each either .csv or .rds). Reports every missing file at once (mirroring check_all_inputs() semantics) rather than failing on the first.

Usage

read_directory(dir)

Arguments

dir

character; path to directory containing the input files.

Value

A named list with obs, locs, and target data frames.

Examples

dir <- system.file("extdata", package = "imuRUN")