node_extractor: Node Extractor

Description Usage Arguments Value

Description

Given an XML2 object, and an ResourceDescriptionFramework object, which are both mutable, the ResourceDescriptionFramework object is mutated into containing the triples extracted from the XML2 object, while the XML2 object is possibly mutated into containing some annotations allowing the faster reprocessing.

Usage

1
2
3
4
5
node_extractor(node, xml_schema, xml, reprocess, triples, prefix,
  new_taxons, dry = FALSE, filename, root_id,
  publisher_id = publisher_id, journal_id = journal_id,
  plazi_doc = plazi_doc, plazi_treatment_id = plazi_treatment_id,
  doi = doi, article_id = article_id)

Arguments

xml_schema

XML schema of the XML resource; one of taxpub taxonx or plazi_int

reprocess

logical

triples

the RDF object where the newly created triples will be stored (note this is a side-effect/pass by reference)

filename

locator, e.g. file path or URL, of the XML resource

Value

ResourceDescriptionFramework containing all the triples from the article


pensoft/ropenbio documentation built on Dec. 17, 2020, 5:50 a.m.