remove internal_node_id references from the docs

This commit is contained in:
Josh de Leeuw 2023-09-22 16:33:05 -04:00
parent d4d4ed33b7
commit 5a1b338d19
3 changed files with 3 additions and 5 deletions

View File

@ -351,7 +351,6 @@ If you have tips based on your own experience please consider sharing them on ou
"trial_type": "image-keyboard-response",
"trial_index": 4,
"time_elapsed": 30701,
"internal_node_id": "0.0-4.0",
"webgazer_data": [
{ "x": 1065, "y": 437, "t": 39},
{ "x": 943, "y": 377, "t": 79},

View File

@ -230,7 +230,7 @@ var trial = {
```
!!! note
You cannot remove the `internal_node_id` and `trial_index` values from the trial data, because these are used internally by jsPsych.
You cannot remove the `trial_index` value from the trial data.
## Data collected by all plugins
@ -243,7 +243,6 @@ In addition to the data collected by a plugin, there is a default set of data th
| trial_type | string | The name of the plugin used to run the trial. |
| trial_index | numeric | The index of the current trial across the whole experiment. |
| time_elapsed | numeric | The number of milliseconds between the start of the experiment and when the trial ended. |
| internal_node_id | string | A string identifier for the current TimelineNode. |
## Creating a new plugin

View File

@ -399,8 +399,8 @@ var last_10_trials = jsPsych.data.get().last(10);
Returns a DataCollection with all instances of a particular key removed from the dataset.
```javascript
// log a csv file that does not contain the internal_node_id values for each trial
console.log(jsPsych.data.get().ignore('internal_node_id').csv());
// log a csv file that does not contain the trial_type values for each trial
console.log(jsPsych.data.get().ignore('trial_type').csv());
```
#### .join()