suggest_closest_book: Suggest the closest matching book name

View source: R/validate.R

suggest_closest_bookR Documentation

Suggest the closest matching book name

Description

This function suggests the closest matching book name based on the input string. It uses approximate string matching to find similar book names from the provided list.

Usage

suggest_closest_book(book, book_list)

Arguments

book

A character vector of book names to check.

book_list

A character vector of valid book names to match against.

Value

A character vector of suggested book names or NA if no close match is found.


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