build_ris | R Documentation |
Builds an RIS file based on a basic input of fields corresponding to a minimum information for deduplication and record identification from external API sources (e.g. CrossRef).
build_ris(data, save = FALSE, filename = "export", path = NULL)
save |
Logical argument to specify whether the output file should be saved as an .ris file. |
filename |
Optional name of the output file if save = TRUE. Default is 'export'. |
path |
Path to which file should be saved. |
input |
A dataframe object containing bibliographic data. Each item is an independent line in the dataframe. The dataframe must contain columns named as follows: 'authors', 'year', 'title', 'source', 'volume', 'issue', 'start_page', 'end_page', and 'doi'. |
An RIS formatted text file saved to the desired path.
## Not run:
data <- read.csv('inst/extdata/data.csv')
ris <- build_ris(data, save=TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.