Description Usage Arguments Value Examples
View source: R/write_bibliography.R
Basic function to export bibliographic information for use in other programs. Work in progress. Very little error checking or advanced formatting in this version
1 | write_bibliography(x, filename, format = "ris")
|
x |
An object of class 'bibliography', such as imported using read_bibliography |
filename |
Name of the exported file. Should ideally match 'format', but this is not enforced |
format |
Format of the exported file. Should be either "ris" (default) or "bib" |
exports results as a .ris or .bib file.
1 2 3 4 5 6 7 8 9 10 | file_location <- system.file(
"extdata",
"avian_ecology_bibliography.ris",
package = "revtools")
x <- read_bibliography(file_location, return_df = FALSE)
# export a subset of entries as a new file
write_bibliography(x[1:5],
filename = paste0(tempdir(), "/x_out.ris"),
format = "ris")
|
sh: 1: cannot create /dev/null: Permission denied
sh: 1: wc: Permission denied
sh: 1: cannot create /dev/null: Permission denied
Could not detect number of cores, defaulting to 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.