returns the text from the tag.
Arguments
- eml_object
is an R object imported (typically from an EML-formatted .xml file) using EmL::read_eml(, from="xml").
Details
get_abstract returns the text from the tag and attempts to clean up common text issues, such as enforcing UTF-8 formatting, getting rid of carriage returns, new lines, and tags and mucks about with layout, line breaks, etc. IF you see characters you don't like in the abstract, make sure to edit your abstract in a text editor (e.g. Notepad and NOT a Word). You should save the text to a new object and view it using writeLines()
Examples
if (FALSE) { # \dontrun{
abstract <- get_abstract(eml_object)
writeLines(abstract)
} # }