Text representation of the study DAG for Shiny / CLI
Arguments
- meta
Parsed replication metadata, or a DOI / registry handle. Pass
"local"to describe the study in the current working directory (no registry lookup needed; seeresolve_doi_input()).- repo
Optional repository slug when
metais a DOI or handle.- folder
Optional registry folder when
metais a DOI or handle.
Examples
if (FALSE) { # \dontrun{
describe_study_dag("10.1177/00491241211036161")
describe_study_dag("10.1017/S0003055403000534")
describe_study_dag("10.1017/S0003055422000284")
describe_study_dag("10.1257/aer.91.5.1369")
describe_study_dag("rep-template")
# Pass a DOI from a get_study() handle:
st <- get_study("10.1017/S0003055403000534")
describe_study_dag(st$doi)
# setwd() to a checked-out study repo (or open its RStudio project) and
# sanity-check the parsed DAG without any registry — no DOI needed.
setwd("path/to/rep-my-study")
describe_study_dag("local")
} # }
