jst_get_footnotes: Extract all footnotes

View source: R/footnotes.R

jst_get_footnotesR Documentation

Extract all footnotes

Description

This function extracts the content of fn-group from journal-articles.

Usage

jst_get_footnotes(file_path)

Arguments

file_path

The path to the .xml-file from which footnotes should be extracted.

Details

The fn-group usually contains footnotes corresponding to the article. However, since footnotes are currently not fully supported by DfR, there is no comprehensive documentation on the different variants. jstor therefore extracts the content of fn-group exactly as it appears in the data. Because of this, there might be other content present than footnotes.

In order to get all available information on citation data, you might need to combine jst_get_footnotes() with jst_get_references().

Value

A tibble containing the content from fn-group (usually the footnotes). If there were no footnotes, NA_character is returned for the column footnotes.

Examples

jst_get_footnotes(jst_example("article_with_footnotes.xml"))

jstor documentation built on Aug. 16, 2023, 5:09 p.m.