separate_refs: Separate references cited into multiple rows

Description Usage Arguments Value Author(s) Examples

View source: R/separate_refs.R

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

1
separate_refs(txt, column = "text")

Arguments

txt

a table

column

column name, default "text"

Value

a tibble

Author(s)

Chris Stubben

Examples

1
2
x <- data.frame(row = 1, text = "some important studies [7-9,15]")
separate_refs(x)

ropensci/tidypmc documentation built on Dec. 14, 2019, 11:42 p.m.