
Create a simple Gazepoint data dictionary
Source:R/reproducibility-simulation.R
create_gazepoint_dictionary.RdCreates a column-level dictionary from a data frame or from CSV file headers. The output is intended for reporting and reproducibility documentation.
Usage
create_gazepoint_dictionary(
data = NULL,
file_paths = NULL,
units = NULL,
descriptions = NULL,
required_cols = NULL,
write_path = NULL
)Arguments
- data
Optional data frame.
- file_paths
Optional character vector of CSV files to inspect when
dataisNULL.- units
Optional named character vector or named list mapping columns to units.
- descriptions
Optional named character vector or named list mapping columns to descriptions.
- required_cols
Optional character vector of columns expected in the data.
- write_path
Optional output path. Use
.csvfor CSV; otherwise a simple Markdown table is written.