read_records: Read a corpus of records from disk

View source: R/io.R

read_recordsR Documentation

Read a corpus of records from disk

Description

Accepts a data frame directly, or a path to a CSV, TSV, RIS, BibTeX, or Excel file. Returns a tibble with the columns screenllm expects: id, title, abstract, plus any additional bibliographic columns the input carries.

Usage

read_records(source, id_column = NULL)

Arguments

source

Either a data frame with (at minimum) columns title and abstract, or a file path.

id_column

Optional name of an existing column to use as the record id. If NULL, an id column is generated as ⁠record_<zero-padded index>⁠.

Value

A tibble with columns id, title, abstract, plus any extras.


screenllm documentation built on Sept. 24, 2026, 5:11 p.m.