validate_book: Validate book names against a reference list

View source: R/validate.R

validate_bookR Documentation

Validate book names against a reference list

Description

This function checks if the provided book names exist in a given list and suggests the closest match if not.

Usage

validate_book(book, book_list)

Arguments

book

A character vector, list, or data frame containing book names.

book_list

A character vector of valid book names.

Value

A character vector of validated or suggested book names.


logos documentation built on April 4, 2025, 4:42 a.m.