pass in many files or XML character strings in a list, or
x <- system.file("examples/elsevier_1.xml", package = "pubchunks")
z <- system.file("examples/hindawi_1.xml", package = "pubchunks")
pub_chunks(list(x, z), "title")
But this should work too:
many calls to pub_chunks combined into a list
but fails right now
x <- system.file("examples/elsevier_1.xml", package = "pubchunks")
z <- system.file("examples/hindawi_1.xml", package = "pubchunks")
pub_tabularize(list(pub_chunks(x, "title"), pub_chunks(z, "title")))
#> Error in if (attr(x, "ft_data")) { : argument is of length zero
ah right, we have the following option:
But this should work too:
pub_chunks
combined into a listbut fails right now