Skip to contents

This is a convenient wrapper for print(bibliography), searching by key = dataset_name, with BibOptions(use.regex = TRUE). You can also search and manipulate the bibliography object directly using the RefManageR::RefManageR package functions.

Usage

cite_dataset(dataset_name, to_bibtex = FALSE)

Arguments

dataset_name

The name of the dataset to cite.

to_bibtex

Whether to provide bibtex/biblatex markup.

Value

Prints the citation information. Returns the RefManageR::BibEntry() object.

Examples


cite_dataset("gwf") 
#> [1] B. Geddes, J. Wright, and E. Frantz. "Autocratic Breakdown and
#> Regime Transitions: A New Data Set". In: _Perspectives on Politics_
#> 12.1 (2014), pp. 313-331. DOI: 10.1017/S1537592714000851.

cite_dataset("pmm") 
#> [1] D. Pemstein, S. A. Meserve, and J. Melton. _Replication Data for:
#> Democratic Compromise: A Latent Variable Analysis of Ten Measures of
#> Regime Type_. 2013. DOI: 10.7910/DVN/WWYOHU.
#> 
#> [2] D. Pemstein, S. Meserve, and J. Melton. "Democratic Compromise: A
#> Latent Variable Analysis of Ten Measures of Regime Type". In:
#> _Political Analysis_ 18.4 (2010), pp. 426-449. DOI: 10.1093/pan/mpq020.

cite_dataset("uds") # Same output as the previous one
#> [1] X. Márquez. "A Quick Method for Extending the Unified Democracy
#> Scores". In: _Available at SSRN 2753830_ (2016). DOI:
#> 10.2139/ssrn.2753830.
#> 
#> [2] D. Pemstein, S. A. Meserve, and J. Melton. _Replication Data for:
#> Democratic Compromise: A Latent Variable Analysis of Ten Measures of
#> Regime Type_. 2013. DOI: 10.7910/DVN/WWYOHU.