statable Statistics for study and research

How do I repeat my analysis with new data? (template and log of data changes)

In brief

How do I repeat my analysis with a new file? The log records every change to the data, with a checksum (SHA-256) of the file. A template records the steps and analyses of a project, without data. A new file with the same columns then runs through again.

How it works in Statable

  1. On the "Log" page choose the button "Save template". The file ends with ".statable-vorlage" and contains no data.
  2. Open the new file, choose "Choose template" on the "Log" page and select the file.
  3. Statable first checks whether the template fits. Then the steps run in order, and the log shows what happened.

The log

On the "Log" page each step shows: number, type, columns, number of rows affected, rows before and after, time, source (by hand or from a template) and a note. This applies to every change in the project, not only to templates.

Save a template

On the "Log" page choose the "Save template" button. A file ending in ".statable-vorlage" is created. It contains all data changes in order and all analysis pages, but no data, no rows and no values. Column names, labels and settings are in it.

What can be repeated and what cannot

Some steps cannot be repeated on other data. Statable names them when saving, with number and reason. A template with such steps cannot be applied.

Apply a template

Open the new file, choose "Choose template" on the "Log" page and select the file. First Statable checks whether the template suits the data, before anything is changed:

Then the steps run in order on the new data, with the same functions as by hand. The analyses from the template are open as tabs and calculate when you open them, or all at once in the report. If a step stops, everything after it stops, the data are as before the run, and the reason is in the log.

Warnings

For specialists

The template is a JSON file with a version number; a newer version than the app understands is rejected. A template from elsewhere counts as unsafe: it goes through the same checks as the inputs of the interface, its texts never enter R or PSPP code unchecked, and a broken file gives a sentence instead of a crash. The checksum is SHA-256 over the bytes of the file, formed in the browser with crypto.subtle; for data without a file (example, typed in, reshaped) this is stated. The run uses the same code as the data assistant, no second path.

Related

Open in Statable