Announcing the Cognitive3D R Package: Simplifying XR Data Analysis for Researchers and Data Scientists




Announcing the Cognitive3D R Package: Simplifying XR Data Analysis for Researchers and Data Scientists
We’re excited to announce the release of the Cognitive3D R package: a new way for data scientists and researchers to access and analyze XR session data directly within R.
For teams working in statistics, machine learning, and academic research, R is often the preferred environment for modeling, experimentation, and advanced analytics. With this new package, XR behavioural data from Cognitive3D can now flow directly into those workflows with no manual API construction required.
Why We Built It
Many of our customers rely on R for statistical computing and research. Whether running controlled experiments, evaluating training effectiveness, or building predictive models, their analysis happens in R.
Previously, accessing Cognitive3D data programmatically meant interacting directly with the API: constructing requests, managing endpoints, and parsing responses. While powerful, that approach required additional technical overhead.
The cognitive3dr package was built to remove that friction. Instead of focusing on API mechanics, users can now focus on analysis. The package abstracts the complexity and provides purpose-built functions that return clean, analysis-ready datasets.
What You Can Access
The Cognitive3D R package allows users to download structured session-level data using straightforward R functions. Each function is designed to retrieve specific categories of XR behavioural data in a format that is immediately usable for statistical work.
With the package, you can request:
- Session-level data - analyze user behaviour across complete immersive experiences
- Custom events - evaluate interactions, decisions, and key in-experience moments
- Objectives & Objective Step Results - measure task completion, step progression, and performance outcomes to evaluate how users move through structured experiences and training workflows
- Exit poll responses - connect behavioural data with user feedback and survey results
Each query returns a clean, structured table of data, making it easy to move directly into modeling, aggregation, or visualization. There’s no need to manually reshape JSON responses or build data frames from scratch.
Built for Real Data Workflows
The value of this package isn’t just access, it’s integration.
Because the output is returned in tabular format, it fits naturally into established R workflows. Teams can immediately pipe results into familiar libraries and toolsets, accelerating the path from raw data to insight.
For example, users can:
- Manipulate and transform data using dplyr or the tidyverse
- Create visualizations with ggplot2
- Run statistical models and hypothesis tests
- Build predictive models with caret or tidymodels
- Integrate XR behavioural data into machine learning pipelines
For academic researchers and analytics teams, this means immersive data can now sit alongside other experimental or performance datasets within the same analytical environment.
Simpler Than Working Directly with the API
The Cognitive3D API remains powerful and flexible, but not everyone wants to manually construct endpoints and handle request formatting.
The R package provides a more accessible layer on top of the API. Users still maintain full access to their project data, but with significantly reduced technical overhead. Instead of managing request syntax, authentication headers, and response parsing, they can call a function and receive structured data in return.
To get started, users simply need:
- Their Cognitive3D API key
- Their Project ID (project number)
Once authenticated, they can begin querying their project data directly within R.
Accelerating XR Research and Analysis
By reducing the friction between immersive data collection and statistical analysis, the Cognitive3D R package enables faster experimentation, deeper behavioural research, and more advanced modeling.
Instead of exporting CSVs or manually working through API endpoints, teams can:
- Query data directly from R
- Receive structured tables instantly
- Iterate on models quickly
- Connect behavioural, object, and survey data seamlessly
For organizations operating in research-heavy, math-forward, or data science environments, this unlocks a more efficient path to insight.
Get Started Today
The Cognitive3D R package is available now on Github
Please refer to the Documentation for further details
We’re excited to see how data scientists, researchers, and analytics teams use this tool to push immersive analytics further.
If you have feedback, feature requests, or examples of how you’re using the package, we’d love to hear from you.