Any vegaspecs rendered in knitr chunks using vegajson or vegayaml
(vegayml) will be stored to a package environment, where they can
be accessed using the vegadown() function, using the label of a
code chunk.
To get all the available labels, use vegadown_labels().
vegadown(label) vegadown_labels()
| label |
|
|---|
vegadown()list() with S3 class vegaspec.
vegadown_labels()character vector, all available labels.
vegadown_labels()#> character(0)# not run because it depends on side effects if (FALSE) { vegadown("json-cars") }