> For the complete documentation index, see [llms.txt](https://help.imotions.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.imotions.com/lab/exports/export-signal-processed-data.md).

# Export: Signal Processed Data

Find R-Notebook output in iMotions Lab: view processed signals and metrics in the Replay, and export metric files or processed data with the sensor data.

*This* *help center* *article* *explains how to retrieve the different types of R-processed data.*

## What is 'R-processed' data?

The different R-Notebooks produce different types of new data: 'R-processed data'. Depending on the specific R-Notebooks, this includes **(1)** additional R-processed data channels in the Replay, **(2)** additional R-processed data channels that can be exported as part of the sensor data export, **(3)** new R-processed 'metrics' export files and/or **(4)** a report (with a step-by-step explanation of the method used as well as the R-code itself).

Below, we explain step-by-step how to retrieve these different types of data. Note that more information can be found in the help center articles dedicated to specific R-Notebooks; this help center article intends to provide a general overview.

Read more: [What are R-Notebooks?](https://help.imotions.com/lab/analysis/signal-processing-r-notebooks/what-are-r-notebooks.md)

## How to export the different types of 'R-processed' data

#### Replay

Many R-Notebooks contribute new sections of data to the Replay; this could be **timeline data** or **metric data**. For example, the GSR peak detection R-Notebook produces two such sections: 'GSR peaks' (timeline data) and 'GSR metrics' (metric data).

* The section 'GSR peaks' contains eight R-processed data channels, among which an interpolated data channel ('GSR interpolated', i.e. with missing values interpolated), a tonic signal ('Tonic signal', i.e. the fast fluctuations in the electrodermal activity are filtered away), a phasic signal ('Phasic signal', i.e. the slow fluctuations in the electrodermal activity are filtered away) and a binary signal which marks the individual arousal peaks ('Peak detected (Binary)'). This is 'timeline' data, which means that the data channels can be visualized on the timeline.
* The section 'GSR metrics' contains three R-processed metrics, summarizing the GSR peaks for the respondent and stimulus currently displayed in the Replay. The total number of peaks ('Peak count'), the peak rate ('Peaks per minute') and the average amplitude of the detected peaks ('Average peak amplitude'). Note that, in the Replay, these are metrics that apply to the *entire* stimulus duration.

![An analysis selected in the Library, with the analysis bar and its Replay button](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-d76a363d987b802d2117a251900e3ebc7cb89f8a%2Flab_analysis_analysis-bar_replay-button.png?alt=media)

To open the Replay:

1. Click the name of the analysis in the Library
2. Click the ‘Replay’ button in the analysis bar

![Slide2.PNG](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-5459a7d935458dc622ad83f1c918da260dcb79f9%2Fc0dae20c4b_slide2-9-.webp?alt=media)

To retrieve the R-processed data in the Replay (yellow path):

1. Navigate to the page 'Signals'
2. Find the section 'GSR peaks' and click on the small 'arrow' button to expand it. Then, click on the data channels of interest to visualize them on the timeline
3. Find the section 'GSR metrics' and click 'Show'

#### Export: Metrics

The R-Notebooks also produce export files (.csv), which, for *every* respondent included in the analysis and for *every* stimulus, scene, or annotation present in the study (not only for the entire stimulus duration as in the Replay), list all R-processed metrics.

The R-processed ‘metrics’ are exported from the ‘Export’ menu in the analysis.

![The R Processing tab of an analysis's Export panel with FEA Metrics Export switched on](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-f3d5eb049c1b11153d5c40c8e6d69413e2c9888f%2Flab_export_r-processing_affdex-metrics-export.png?alt=media)

To export R-processed metrics:

1. Click the name of the analysis in the Library
2. Click the ‘Export’ button in the analysis bar
3. Navigate to the page ‘R-processing’
4. Select if you want to export one file per metric (Individual metrics export), fx. one file containing GSR peaks and one file containing Facial expression metrics ) or if you want to merge different metrics into one file (Single multimodal export).
5. Select the R-processed export file of interest by toggling the button.
6. Change the settings of your export if needed
7. Click the blue ‘Export’ button in the top-right corner, and click 'OK' for saving to the default folder

If you now explore the folder, you should find .txt files with the R-processed metrics.

#### Export: Sensor data

The R-processed timeline data, on the other hand, can be exported as part of the sensor data export files (.csv). This is done by ticking the option: ‘Processed and imported data’ in the sensor data export editor.

![The Export panel of an analysis with Sensor Data selected](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-b82acfe7b2a784d8d05368182a46f1a85fdc82d6%2Flab_export_built-in-processing_sensor-data.png?alt=media)

To open the sensor data export editor:

1. Click the name of the analysis in the Library
2. Click the ‘Export’ button in the analysis bar
3. Select the option ‘Sensor data’
4. Click the blue ‘Export’ button in the top-right corner

Alternatively:

1. Right-click the name of the *study*/*analysis* in the Library
2. In this right-click menu, click ‘Export’.
3. Then, click ‘Sensor data’.

![The File Info page of the sensor data export with the separator set to Tab](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-55812c24d74c77d8137264e5099b7e1bb1337803%2Flab_export_sensor-data-editor_file-info.png?alt=media)

To export the R-processed data from the sensor data export editor:

1. Select at least one respondent in the tab ‘Respondents’
2. Select at least one stimulus in the tab ‘Stimuli’
3. If relevant: include (raw) sensor data in the tab ‘Sensors’ (Not necessary for exporting R-processed data)
4. Select the option ‘processed and imported data’ in the tab ‘File info’
5. Click ‘Export’

If you now explore the folder, you should find a .csv file for every respondent selected in the sensor data export editor, containing the R-processed data.

Read more: [Export: Sensor Data](https://help.imotions.com/lab/exports/export-sensor-data.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.imotions.com/lab/exports/export-signal-processed-data.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
