powered by
Extracts the affiliation tag information from NISO-JATS coded XML file or text as a vector of affiliations.
get.aff(x, remove.html = FALSE, letter.convert = TRUE)
Character vector with the extracted affiliation name/s.
a NISO-JATS coded XML file or text.
Logical. If TRUE removes all html tags.
Logical. If TRUE converts hexadecimal and HTML coded characters to Unicode.
JATSdecoder for simultaneous extraction of meta-tags, abstract, sectioned text and reference list.
JATSdecoder
x<-"Some text Some affiliation some text" get.aff(x) x<-"TEXT Some affiliation TEXT Some other affiliation TEXT" get.aff(x)
Run the code above in your browser using DataLab