Learn R Programming

easyPubMed (version 3.1.6)

EPM_check_guide: Check Metadata from Imported XML Files.

Description

Analyze the Metadata from different XML files that were imported using easyPubMed and identify which records / files can be merged together and which ones to exclude. Only files with the same unique ID can be merged together a this step. The goal is to re-build a consistent easyPubMed object.

Usage

EPM_check_guide(x)

Value

Data.frame identical to `x` with an additional *numeric) column (`pass` column).

Arguments

x

Data.frame including information from the imported XML files. The following columnnames are expected: `index`, `file`, `JobUniqueId`, `JobQuery`, `JobBatch`.

Author

Damiano Fantini, damiano.fantini@gmail.com

References

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

Examples

Run this code
gx <- data.frame(
  index = c(1, 2, 3, 4, 5),
  JobUniqueId = rep('xyz0x', 5),
  JobQuery = rep('test_query', 1),
  JobBatch = c(1, 2, 3, 4, 3),
  JobBatchNum = rep(4, 5),
  stringsAsFactors = FALSE)
easyPubMed:::EPM_check_guide(gx)



Run the code above in your browser using DataLab