separate_refs {tidypmc} | R Documentation |
Separate references cited into multiple rows
Description
Separates references cited in brackets or parentheses into multiple rows and splits the comma-delimited numeric strings and expands ranges like 7-9 into new rows
Usage
separate_refs(txt, column = "text")
Arguments
txt |
a table |
column |
column name, default "text" |
Value
a tibble
Author(s)
Chris Stubben
Examples
x <- data.frame(row = 1, text = "some important studies [7-9,15]")
separate_refs(x)
[Package tidypmc version 1.7 Index]