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)

ingmarboeschen/JATSdecoder documentation built on April 5, 2025, 2:07 a.m.