tag_lookup: Lookup table for ris tags

Description Usage Arguments Details Value See Also Examples

View source: R/tag_lookup.R

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

1
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

1
2
tag_lookup("ris") # standard ris format
tag_lookup("medline") # PubMed files

revtools documentation built on Jan. 8, 2020, 5:10 p.m.