identify_tables: Find statements positions

View source: R/identify_tables.R

identify_tablesR Documentation

Find statements positions

Description

Identify tables which are the most likely to be the desired financial statements.

Usage

identify_tables(tables, all_patterns, remove = NA, minscore = 3, window = 2)

Arguments

tables

List. all tables from a 10-K annual report.

all_patterns

List of character vectors. Patterns identifying the statements.

remove

Numeric vector. Position of the tables to be removed.

minscore

Integer. Minimum number of pattern occurrences to keep a table as a candidate for a statement.

window

Integer. To keep candidates having the best scores or scores near the best scores.

Value

List of positions.

Author(s)

Nicolas Mangin


NicolasJBM/collectR documentation built on June 9, 2025, 11:49 a.m.