Export interaction values

How to export and paaned interaction values to a CSV file

Exporting data collected during the execution of documents, protocols, or checklists can provide valuable insights and enable a variety of tasks, including but not limited to:

  • Follow-up activities
  • Quality analysis
  • Dashboard generation
  • Report data export

With Operations1, you can access all relevant data via the API and format it according to your needs.

An interaction value represents the smallest unit of captured data in reports generated from checklists or protocols. Each dataset can be enriched with additional context, such as its associated report or order. By aggregating interaction values over time, you can leverage the data from individual reports for the use cases mentioned above.

The process involves the following steps:

  1. Retrieve a list of all relevant reports (e.g., within a specific time frame).
  2. Extract all interaction values from these reports.
  3. Enrich the data with additional details (e.g., interaction name, associated order, etc.).
  4. Save the data in your preferred location.

The following Python script provides an example of this process. It retrieves all reports within a given timeframe, appends interaction values with additional data (such as their associated report and order), and stores the results as rows in a CSV file. This approach allows you to periodically aggregate captured data for use on your platform: