EPM_check_guide: Check Metadata from Imported XML Files.

View source: R/epm_all_fx.R

EPM_check_guideR Documentation

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)

Arguments

x

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

Value

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

Author(s)

Damiano Fantini, damiano.fantini@gmail.com

References

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

Examples

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)




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