Learn R Programming

JATSdecoder (version 1.2.0)

get.category: get.category

Description

Extracts category tag/s from NISO-JATS coded XML file or text as vector of categories.

Usage

get.category(x)

Value

Character vector with the extracted category name/s.

Arguments

x

a NISO-JATS coded XML file or text.

See Also

JATSdecoder for simultaneous extraction of meta-tags, abstract, sectioned text and reference list.

Examples

Run this code
x<-"Some text Some category some text"
get.category(x)

Run the code above in your browser using DataLab