Dataset
@dataDirective
Declares a named dataset — tabular data with named columns, written once and reached from anywhere in the document. Inline, the body is pipe-delimited rows under a header row that names the columns; attached, a CSV file supplies both. Every cell is a string until an attribute type parses it. Reach a column with {{#name.column}} to splice its cells as comma-separated text at compile time, or bind #name.column where an attribute takes a reference.
Attributes
srcImplicit
Allowed content
Body { }header and rows, pipe-delimited (inline form only)
Examples
@data#islands{
island | area | species
Baltra | 25.09 | 58
Pinta | 60.0 | 94
}@data#survey:galapagos-plants-1973.csvcanvas.code{
lines{
area = np.array([{{#survey.area}}])
}
}(
language: python
)