scitation_df: Coerce scitations to a data.frame

View source: R/scitation_df.R

scitation_dfR Documentation

Coerce scitations to a data.frame

Description

Coerce scitations to a data.frame

Usage

scitation_df(..., .list = NULL)

Arguments

...

objects of class scitation

.list

a list, with only objects of class scitation

Examples

#x <- scitation("article", 'petkun2016', doi = "10.7717/peerj.2399")
#scitation_df(x)

x <- scitation(
  "Article", "cui2016", 
  title = "Short and long term representation of an unfamiliar tone distribution",
  author = "Anja X. Cui and Charlette Diercks and Nikolaus F. Troje and Lola L. Cuddy", 
  journaltitle = "The Journal Title",
  date = "2016-08-30")
  
# any number of inputs of class scitation
scitation_df(x, x, x)

# inputs of class scitation in a list
scitation_df(.list = list(x, x, x, x))

# from DOI
# scitation_df(as.scitation("10.7717/peerj.1126"))

ropenscilabs/scitations documentation built on May 18, 2022, 8:31 p.m.