This list contains a series of examples that are loaded into Preset workspaces.
To add a new example:
- Create a dashboard or chart in Preset using one of the datasets from the examples database.
- Export the dashboard or chart.
- Unzip the file into a directory.
- Copy all the files from
charts/
anddashboards/
to this repo. - Copy any files from
datasets/
that don't exist in this repo. - Do not copy
metadata.yaml
ordatabases/examples.yaml
. - For every new dataset file added, export the table data to CSV, compress with
gzip
, and put the file in thedata/
directory. - Edit the dataset file, and add an attribute
data
that points to the URL of the data (see this example).