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