refInfo | R Documentation |
Function to parse different reference information (e.g. authors, year of publication) from a reference string in the standard TreeCo format
refInfo(
ref.data = NULL,
ref.name = "Reference",
ref.id = "refID",
ref.type = NULL,
default.ref.type = "article"
)
ref.data |
the data frame with references in the TreeCo format |
ref.name |
the name of the columns containing the reference. Default to the TreeCo column 'Reference'. |
ref.id |
the name of the columns containing the reference. Default to the TreeCo column 'refID'. |
ref.type |
a vector containing the type of reference (i.e. journal article, book, book chapter, monography). |
default.ref.type |
a character containing the default type of reference to be assumed when the reference type is missing or when it does not match one of the ‘ref.type' classes. Defaults to ’article'. |
The standard TreeCo format for the references is the following: Author(s). Year. Title. Publication name volume (issue): start page-endpage. The separation between multiple authors must be done using semi-colons, ampersand (i.e. '&'), a vertical pipe (i.e. '|')or the word 'and' surrounded by spaces in English, Portuguese, Spanish, German or Latin (i.e. ' and ', ' e ' ', ' y ', ' und ', ' et ').
a data frame with number with the reference information in each column.
Renato A. F. de Lima
refString
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.