bib2yml: Convert bib files to YAML

View source: R/yml_citations.R

bib2ymlR Documentation

Convert bib files to YAML

Description

bib2yml() uses pandoc to convert a .bib file to YAML. It also accepts an optional yml object to prepend to the the YAML from the .bib file. If you want to cite several R packages, see knitr::write_bib() to write a bibliography file and convert it with bib2yml().

Usage

bib2yml(.yml = NULL, path)

Arguments

.yml

a yml object created by yml(), as_yml(), or returned by a yml_*() function

path

a path to the .bib file

Value

a yml object

See Also

Other yml: asis_yaml_output(), draw_yml_tree(), has_field(), read_json(), use_yml_defaults(), use_yml_file(), use_yml(), yml_author(), yml_blogdown_opts(), yml_bookdown_opts(), yml_citations(), yml_clean(), yml_distill_opts(), yml_latex_opts(), yml_output(), yml_pagedown_opts(), yml_params(), yml_pkgdown(), yml_reference(), yml_replace(), yml_resource_files(), yml_rsconnect_email(), yml_rticles_opts(), yml_runtime(), yml_site_opts(), yml_toc(), yml_vignette()

Other citations: yml_citations(), yml_reference()


ymlthis documentation built on Aug. 5, 2022, 5:23 p.m.