xpd views create
Create a new view from a declared spec as a durable Duroxide run. You declare what the view must say, the reader task, the data file, and the column roles. xpd routes the task to a form (small multiples, an equal-area choropleth map, a treemap, and a Sankey flow diagram), scaffolds the file in the Warm Editorial house style, renders and measures every revision, and closes the run only when each mechanical finding is gone or accepted and each scoped review question is answered against the measured revision.
| Stage | Command | What xpd does |
|---|---|---|
| Forms | xpd views create forms |
Prints each form with its reader tasks and column roles |
| Start | xpd views create start <spec.json> |
Validates the spec, routes the task, scaffolds the file, renders and measures it |
| Route | xpd views create route <run> --form <form> |
Chooses the form when more than one fits the declared columns |
| Render | xpd views create render <run> |
Measures the edited file again and writes a new page and screenshot |
| Answer | xpd views create answer <run> <answers.json> |
Records answers that cite measured facts, and reasons for accepted findings |
| Finish | xpd views create finish <run> |
Closes the run when the file matches its last render and nothing is open |
| Status | xpd views create status <run> |
Prints the run, what is open, and the next command |
The xpd views guide shows a whole create run.
xpd views create [OPTIONS] <COMMAND>Pass one of the subcommands below.
Subcommands
Section titled “Subcommands”| Subcommand | What it does |
|---|---|
xpd views create start |
Start a create run from a declared figure spec: validate it, route its reader task to a form, scaffold the figure file, then render and measure it |
xpd views create route |
Choose the form of a run whose reader task has more than one fitting form |
xpd views create render |
Render and measure the figure file again after editing it |
xpd views create answer |
Record answers to the scoped review questions and reasons for accepted findings |
xpd views create finish |
Close the run once the file matches its last render and nothing is open |
xpd views create status |
Print the run, what is open, and the command that comes next |
xpd views create forms |
Print the forms this workflow can scaffold, with their reader tasks and column roles |
Options
Section titled “Options”| Option | Default | What it does |
|---|---|---|
--format <FORMAT> |
Output format. Default: text on a terminal, json otherwise. Values: text, json. |
Example
Section titled “Example”$ xpd views create --help...