Skip to contents

Validates all Usagi files in a vocabulary folder against a set of rules. The folder must contain a vocabularies.csv file that describes the vocabularies and their corresponding Usagi files.

Usage

validateVocabularyFolder(
  pathToVocabularyFolder,
  connection,
  vocabularyDatabaseSchema,
  validationResultsFolder
)

Arguments

pathToVocabularyFolder

Path to folder containing vocabulary files

connection

A DatabaseConnector connection object

vocabularyDatabaseSchema

Schema name where the vocabulary tables are stored

validationResultsFolder

Folder where validation results will be saved

Value

A tibble containing validation results for all files