spod_cite: Cite the package and the data

View source: R/cite.R

spod_citeR Documentation

Cite the package and the data

Description

Cite the package and the data

Usage

spod_cite(what = "all", format = "all")

Arguments

what

Character vector specifying what to cite. Can include "package", "data", "methodology_v1", "methodology_v2", or "all". Default is "all".

format

Character vector specifying output format(s). Can include "text", "markdown", "bibtex", or "all". Default is "all".

Value

Nothing. Prints citation in plain text, markdown, BibTeX, or all formats at once to console.

Examples

# Cite everything in all formats
## Not run: 
 spod_cite()

## End(Not run)

# Cite just the package in BibTeX format
## Not run: 
 spod_cite(what = "package", format = "bibtex")

## End(Not run)

# Cite both methodologies in plain text
## Not run: 
 spod_cite(what = c("methodology_v1", "methodology_v2"), format = "text")

## End(Not run)

spanishoddata documentation built on April 12, 2025, 1:24 a.m.