Skip to contents

data_check keeps every table it reads, and every column and finding of it, under this name (source_file), and codebook_check looks the tables up by it. The file name alone is not unique: a measurement repository can hold a log.csv in every scan folder, and keyed by name only one of them was kept and checked. The name is the file name when no other file has it, so nothing changes for most repositories; else the file's path in the repository; and where even that repeats (the same path in two repositories), the repository's name in front.

Usage

.data_source_keys(file_name, file_path = NULL, repo = NULL)

Arguments

file_name

a character vector of file names (basenames)

file_path

a character vector of paths in the repository, or NULL

repo

a character vector naming each file's repository, or NULL

Value

a character vector of unique names, as long as file_name