separate_refs: Separate references cited into multiple rows

View source: R/separate_refs.R

separate_refsR 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)

tidypmc documentation built on Sept. 11, 2024, 7:17 p.m.