Skip to contents

Searches for specified keywords in the content column and adds them to the lq_keywords column.

Usage

extract_other_keywords(blocks, keywords_of_interest, remove_keywords = FALSE)

Arguments

blocks

A data.table containing blocks with a content column.

keywords_of_interest

A character vector of keywords to search for.

remove_keywords

Logical. If TRUE, removes keywords from the content column after extraction. Defaults to FALSE.

Value

The updated blocks data.table with keywords extracted and added to the lq_keywords column.