Learn R Programming

logos (version 0.1.0)

validate_book: 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)

Value

A character vector of validated or suggested book names.

Arguments

book

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

book_list

A character vector of valid book names.