tag_lookup {revtools} | R Documentation |
Lookup table for ris tags
Description
ris-like bibliographic data files contain codes that describe their contents, such as 'AU' in place of 'author'. This function provides lookup tables for 'ris' tags of different kinds
Usage
tag_lookup(type = "ris")
Arguments
type |
Which lookup table should be returned? Accepted values are 'ris', 'ris_write' or 'medline' |
Details
Primarily an internal function to support read_bibliography
and write_bibliography
. Tag substitutions for PubMed/Medline fields are taken directly from the NIH (available here). Substitutions for other ris-like formats are based on common examples, but are much less consistently documented.
Value
a data.frame
containing the original tag (column 'ris'), and the full-word substitution for that tag (column 'bib'). For type 'ris', there is also an added 'order' column showing the order those tags should be displayed in. 'ris_write' is a version of 'ris' with only one ris tag per bib tag.
See Also
bibliography-class
, read_bibliography
Examples
tag_lookup("ris") # standard ris format
tag_lookup("medline") # PubMed files