Load a precomputed artifact for a replication
Usage
load_artifact(doi, what, repo = NULL, folder = NULL, language = NULL)
Arguments
- doi
Character. DOI of the paper.
- what
Character. Replication identifier (logical id, e.g. "tab_1").
- repo
Optional repository slug.
- folder
Optional registry folder name from index.csv.
- language
Optional "R" or "stata".
Value
Artifact contents suitable for display, or NULL.
Examples
if (FALSE) { # \dontrun{
load_artifact("10.1177/00491241211036161", "fig_1")
load_artifact("10.1017/S0003055403000534", "tab_1")
load_artifact("10.1017/S0003055422000284", "tab_1")
load_artifact("rep-template", "tab_1")
} # }