R/utils.R
cite_dataset.Rd
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
package functions.
cite_dataset(dataset_name, to_bibtex = FALSE)
The name of the dataset to cite.
Whether to provide bibtex/biblatex markup.
Prints the citation information. Returns the BibEntry object.
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. <http://hdl.handle.net/1902.1/PMM>.
#>
#> [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. Marquez. "A Quick Method for Extending the Unified Democracy
#> Scores". In: _Available at SSRN 2753830_ (2016).
#> <https://papers.ssrn.com/sol3/papers.cfm?abstract_id=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. <http://hdl.handle.net/1902.1/PMM>.
#>
#> [3] 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.