Data Studio
The Data Studio is one window for everything you do to sheet data: lookup, search, cell editing, row, column and tab authoring, and sheet creation and deletion. It also holds a record canvas that shows what a record is made of.
In this chapter, a sheet is one table of your data: a file in a local folder, a sheet of an xlsx file, or a tab of a Google spreadsheet. The same table is also called a tab. Terms lists the other product terms.
Open the Studio
Choose Tools ▸ SheetForge ▸ Data Studio. It is the one authoring entry in the menu.
The Studio needs no plugins. Everything in this chapter works with the core built-in types alone. A plugin adds graph shapes and read-only key spaces on top. With and without plugins lists what each plugin contract adds.
If you are upgrading from a version that had the Workbench window, see The removed Workbench window.
The sheet is canonical
One rule underlies the whole window: the sheet is canonical.
The Studio writes to the source, which is a local file or a Google sheet. It never writes to the baked ScriptableObjects (SOs). It confirms every change with an automatic re-import.
How an edit reaches the sheet
Every edit you make in the Studio follows the same cycle.
- Edit. Change a cell, a row, a column or a tab. The table shows the change at once.
- The edit is staged. A staged edit is an edit that the Data Studio holds and has not yet written to the source. The number on ↑ Send counts the staged edits.
- Press ↑ Send in the toolbar. The Push to source modal lists every staged change. Press the button that names the number of changes to write them.
- The Studio imports the source again. The automatic re-import confirms what was written.
Writing the staged edits to the source is called a reflect. A reflect starts with the pre-flight, which validates your data with the staged edits applied. If the pre-flight fails, nothing is written.
Until the reflect, Ctrl+Z undoes a staged edit, and Discard in the toolbar throws all of them away.
Undo and staged edits covers undo, staged edits across re-imports and the guards around a session. Push modal describes the list of staged changes.
In this chapter
Learn the window
- Window layout: learn the name of each part of the window and what it shows.
- Select and move: select rows and columns, drag them, and run a menu item on the whole selection.
- Workbooks in the Studio: use the workbook menu to choose which workbooks are active and which one the table shows, and add a workbook from the sidebar.
- With and without plugins: see what works on a plain project and what a plugin adds.
Edit data
- Edit cells: change a value, pick a reference and add a row.
- Asset and visual cells: pick or drop an asset, play an audio clip, and edit color, curve and gradient cells.
- The record canvas: read what the canvas draws around a record and what a node card holds.
- Edit on the canvas: create, connect and disconnect records on the canvas.
- Edit structure: change columns, rows and tabs, rename a key, and create or delete a sheet.
- Enum sheets in the Studio: edit an enum definition sheet.
Review and recover
- Undo and staged edits: undo a change, and see what is validated before a write.
- Search, sort and filter: search every sheet, sort and filter one sheet, freeze columns and set column widths.
- Diagnose problems: open a sheet that failed to import, jump from a Console error to its cell, and run a health check.
Start from an empty project
When you open the Studio in a project that has no import settings asset, the source chip in the toolbar reads No source. The sidebar lists no sheets and shows a tip about dragging a folder onto the window.
To get a first sheet into the Studio, do one of these:
- Drop a folder or a file onto the window.
- Use the sidebar's Add workbook section. See Add a workbook.
- Create a settings asset, then press ↓ Import.
Drop a folder or a file
Drag a folder from the Project window onto the Data Studio window. A single .tsv, .csv or .xlsx file works too, and its parent folder is used.
The Create import settings dialog opens. If you already have active settings, the dialog says so and offers to create a new one and switch.
Press Create settings. The Studio creates an import settings asset that reads from that folder and makes it active. You enter no fields by hand.
Next steps
- Window layout
Learn the name of each part of the window.
- Sheet syntax
The layout, markers and keys of a sheet.
- Sources, export and push
Where sheets are read from, and the three paths that write data back.
- Capabilities and limits
Find the limits of authoring, by area.