get.category {JATSdecoder} | R Documentation |
Extracts category tag/s from NISO-JATS coded XML file or text as vector of categories.
get.category(x)
x |
a NISO-JATS coded XML file or text. |
Character vector with the extracted category name/s.
JATSdecoder
for simultaneous extraction of meta-tags, abstract, sectioned text and reference list.
x<-"Some text <article-categories>Some category</article-categories> some text"
get.category(x)