powered by
Extracts country tag from NISO-JATS coded XML file or text as vector of unique countries.
get.country(x, unifyCountry = TRUE)
Character vector with the extracted country name/s.
a NISO-JATS coded XML file or text.
Logical. If TRUE replaces country name with standardised country name.
JATSdecoder for simultaneous extraction of meta-tags, abstract, sectioned text and reference list.
JATSdecoder
x<-"Some text UK some text England TextBerlin, Germany" get.country(x)
Run the code above in your browser using DataLab