Learn R Programming

contentanalysis (version 0.2.1)

map_citations_to_segments: Map citations to document segments or sections

Description

Map citations to document segments or sections

Usage

map_citations_to_segments(
  citations_df,
  text,
  use_sections = "auto",
  n_segments = 10
)

Value

Citations data frame with segment/section information

Arguments

citations_df

Data frame with citations and their positions

text

Text object (string or list with sections)

use_sections

Logical or "auto". Use sections if available

n_segments

Integer. Number of segments if not using sections