detect_sections: Detect all major section headers in plain text journal...

Description Usage Arguments Value

View source: R/detect_sections.R

Description

Finds the lines in a plain text scientific journal article that correspond to the start of the introduction, methods, results, discussion, and references.

Usage

1

Arguments

text

A character vector containing a scientific journal article in plain text format where each line represents one paragraph, section header, or other type of standalone text (e.g. a figure caption).

Value

A numeric vector of length 5 indicating the lines within the text that are the section headers for the introduction, methods, results, discussion, and literature cited sections, respectively.


ESHackathon/doi2txt documentation built on Dec. 17, 2021, 5:39 p.m.