getTitleInfo: getTitleInfo

View source: R/utilities-writing-report.R

getTitleInfoR Documentation

getTitleInfo

Description

Get section titles information from report content

Usage

getTitleInfo(fileContent, titlePattern = "#", titleLevels = 6)

Arguments

fileContent

Content of a markdown or text file read as an array of character strings

titlePattern

character pattern referencing titles in first element of line

titleLevels

levels of titles in the report

Value

List of title information including 'line', 'content', 'reference', 'count', 'level'


Open-Systems-Pharmacology/OSPSuite.ReportingEngine documentation built on March 30, 2024, 4:17 p.m.