EPM_mesh_parse: Parse and Format Pubmed MeSH terms.

View source: R/epm_all_fx.R

EPM_mesh_parseR Documentation

Parse and Format Pubmed MeSH terms.

Description

Extract MeSH Information form a slice of a raw XML PubMed record. Both MeSH codes and MeSH terms are returned.

Usage

EPM_mesh_parse(x)

Arguments

x

String (character vector of length 1) including an XML Mesh term field/section from a PubMed record.

Value

list including n=2 elements (character vectors): mesh_codes and mesh_terms.

Author(s)

Damiano Fantini, damiano.fantini@gmail.com

References

https://www.data-pulse.com/dev_site/easypubmed/

Examples

msh <- paste0('<MeshHeading><DescriptorName UI=\"D000465\" >',
              'Algorithms</DescriptorName></MeshHeading>')
easyPubMed:::EPM_mesh_parse(msh)




dami82/easyPubMed documentation built on Jan. 4, 2024, 6:21 a.m.