build_ris | R Documentation |
Builds an RIS file based on a basic input of fields corresponding to a minimum information for de-duplication and record identification from external API sources (e.g. CrossRef).
build_ris(data, save = FALSE, filename = "export", path = NULL)
data |
A data frame object containing bibliographic data. Each item is an independent line in the data frame. The data frame must contain columns named as follows: 'authors', 'year', 'titles', 'source', 'volume', 'issue', 'start_page', 'end_page', and 'dois'. |
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. |
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.