View source: R/JATS_get.abstract.R
get.abstract | R Documentation |
Extracts abstract tag from NISO-JATS coded XML file or text as vector of abstracts.
get.abstract(
x,
sentences = FALSE,
remove.title = TRUE,
letter.convert = TRUE,
cermine = FALSE
)
x |
a NISO-JATS coded XML file or text. |
sentences |
Logical. If TRUE abstract is returned as vector of sentences. |
remove.title |
Logical. If TRUE removes section titles in abstract. |
letter.convert |
Logical. If TRUE converts hexadecimal and HTML coded characters to Unicode. |
cermine |
Logical. If TRUE and if 'letter.convert=TRUE' CERMINE specific letter correction is carried out (e.g. inserting of missing operators to statistical results). |
Character. The abstract/s text as floating text or vector of sentences.
JATSdecoder
for simultaneous extraction of meta-tags, abstract, sectioned text and reference list.
x<-"Some text <abstract>Some abstract</abstract> some text"
get.abstract(x)
x<-"Some text <abstract>Some abstract</abstract> TEXT <abstract with subsettings>
Some other abstract</abstract> Some text "
get.abstract(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.