Description Usage Arguments Value Functions Examples
This function exports data.frames containing bibliographic information to either a .ris or .bib file.
1 2 3 4 5 |
x |
Either a data.frame containing bibliographic information or an object of class bibliography. |
tag_naming |
what naming convention should be used to write RIS files? See details for options. |
format |
What format should the data be exported as? Options are ris or bib. |
file |
Either logical indicating whether a file should be written (defaulting to FALSE), or a character giving the name of the file to be written. |
Returns a character vector containing bibliographic information in the specified format if file
is FALSE, or saves output to a file if TRUE.
write_bib
: Format a bib file for export
write_ris
: Format a ris file for export
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | eviatlas <- c(
"TY - JOUR",
"AU - Haddaway, Neal R.",
"AU - Feierman, Andrew",
"AU - Grainger, Matthew J.",
"AU - Gray, Charles T.",
"AU - Tanriver-Ayder, Ezgi",
"AU - Dhaubanjar, Sanita",
"AU - Westgate, Martin J.",
"PY - 2019",
"DA - 2019/06/04",
"TI - EviAtlas: a tool for visualising evidence synthesis databases",
"JO - Environmental Evidence",
"SP - 22",
"VL - 8",
"IS - 1",
"SN - 2047-2382",
"UR - https://doi.org/10.1186/s13750-019-0167-1",
"DO - 10.1186/s13750-019-0167-1",
"ID - Haddaway2019",
"ER - "
)
detect_parser(eviatlas) # = "parse_ris"
df <- as.data.frame(parse_ris(eviatlas))
ris_out <- write_refs(df, format = "ris", file = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.