View source: R/cite_functions.R
var_to_url | R Documentation |
Converts the name of a variable from LexOPS::lexops
(e.g. "Zipf.SUBTLEX_US") into a url (usually doi).
var_to_url(var, default = "", standard_eval = FALSE)
var |
The variable name (non-standard evaluation) |
default |
The character string that should be returned if the variable does not have a known citeable source |
standard_eval |
Logical; bypasses non-standard evaluation. If |
A citation of a variable's source in APA format. Returns default
if not recognised as a citeabile source.
var_to_url(Zipf.SUBTLEX_UK)
var_to_url("AROU.Glasgow_Norms", standard_eval = TRUE)
var_to_url(AoA.Kuperman)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.