Learn R Programming

ORscraper (version 0.1.0)

search_value: Search for a specific value in text lines

Description

This function searches for a specific text pattern in a set of lines and extracts values that follow the pattern.

Usage

search_value(search_text, lines)

Value

A character vector with extracted values matching the search criteria.

Arguments

search_text

Character. The pattern to search for in the text lines.

lines

Character vector. The lines of text to search within.