split_bib: Split fields and return a data frame

Description Usage Arguments Details Value Author(s) Examples

View source: R/split_bib.R

Description

Split fields as Author Address, Authors, Keywords and return a data frame.

Usage

1
split_bib(x, by = ";", address = NULL)

Arguments

x

a vector with text

by

the character used to separate the fields

address

can be 'institution', 'country' or 'whole field'

Details

Write the details about the functions here! Can be in more that one line.

Value

a data frame from the divided string

Author(s)

Roney Fraga Souza, Winicius Sabino

Examples

1
2
3
4
5
6
7
## Not run: Split the author address from Web of Science (WoS)
c1 <- split_bib(p$AuthorAddress, by=';', address='whole field')
# get the country 
country <- split_bib(p$AuthorAddress, by=';', address='country')

# get the institution of research of the authors
inst <- split_bib(p$AuthorAddress, by=';', address='institution')

roneyfraga/bibr documentation built on May 27, 2019, 1:50 p.m.