check_tab: Validate and Check Spreadsheet Data

View source: R/check.R

check_tabR Documentation

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)

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.

Value

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


tab2xml documentation built on April 4, 2025, 12:36 a.m.