get.category: get.category

View source: R/JATS_get.category.R

get.categoryR 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)

JATSdecoder documentation built on Oct. 12, 2023, 5:13 p.m.