xml_index()
creates an index for the XML file
retrieved from PubMedCentral, storing the index in the DuckDB
database. Use xml_xpath()
to query the index.
Arguments
- xml_file
character(1)
file path to the PubMedCentral XML file.- db
a database object returned by
pmcbioc_db()
withread_only = FALSE
.