View source: R/JATS_get.subject.R
get.subject | R Documentation |
Extracts subject tag/s from NISO-JATS coded XML file or text as vector of subjects.
get.subject(x, letter.convert = TRUE, paste = "")
x |
a NISO-JATS coded XML file or text. |
letter.convert |
Logical. If TRUE converts hexadecimal and HTML coded characters to Unicode. |
paste |
if paste!="" subject list is collapsed to one cell with seperator specified (e.g. paste=";"). |
Character vector with extracted subject/s.
JATSdecoder
for simultaneous extraction of meta-tags, abstract, sectioned text and reference list.
x<-"Some text <subject>Some subject</subject> some text"
get.subject(x)
x<-"Some text <subject>Some subject</subject> TEXT ...
<subject>Some other subject</subject> Some text "
get.subject(x)
get.subject(x,paste=", ")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.