Learn R Programming

tab2xml (version 1.1.0)

check_tab: Validate and Check Spreadsheet Data

Description

This function validates the structure of a spreadsheet file by checking its sheets, primary keys (PKs), and foreign keys (FKs). If a template file is provided, it also checks the column definitions.

Usage

check_tab(file_path, template_path = NULL)

Value

Logical. Returns "TRUE" but warns of possible errors.

Arguments

file_path

Character. Path to the spreadsheet file to be validated.

template_path

Character (optional). Path to the template file for validation. If `NULL`, only the sheet structure is checked.