Live App · Docs · Citation · License
GGIR Explorer is a browser-based dashboard for accelerometry visualization and exploration of GGIR parquet output locally using DuckDB-Wasm. It is designed to help researchers inspect uploaded wearable research data, review schema and metadata, analyze day-level sleep and physical activity summaries, and drill down into epoch-level behavior when nested epoch data is available.
GGIR produces rich outputs, but many workflows still rely on static tables, reports, or custom scripts to inspect them. GGIR Explorer provides an interactive accelerometry visualization layer on top of those outputs so researchers can audit data quality, understand participant behavior over time, and explore high-resolution wearable accelerometer data without setting up a backend service.
- Browser-side analysis using DuckDB-Wasm and Apache Parquet
- Drag-and-drop parquet upload with schema, metadata, and raw data preview
- Day-level dashboard views for validity, sleep, and physical activity
- Epoch Explorer for 24-hour timelines, class distributions, acceleration views, MVPA accumulation, and multi-day summaries
- Automatic support for optional epoch signals such as
lux,anglez, andtemperaturewhen present - Built-in documentation for GGIR parquet export and data model usage
Ensure the arrow R package is installed. Enable parquet export by setting save_dashboard_parquet = TRUE. All five parts (1–5) and reports for parts 2, 4, and 5 must run for the export to produce meaningful output.
library(GGIR)
GGIR(
mode = 1:5,
datadir = "/path/to/raw/data",
outputdir = "/path/to/output",
do.report = c(2, 4, 5),
save_dashboard_parquet = TRUE
)The parquet file is created at <outputdir>/output_<studyname>/results/participant_id.parquet. For more options and troubleshooting, see the Docs page.
- Go to https://ggir-web-dashboard.vercel.app/.
- Upload your GGIR parquet file.
- Explore the dashboard, epoch explorer, and built-in docs.
- Upload page: inspect parquet rows, schema, and key-value metadata after upload
- Dashboard: review validity summaries, participant/day filters, sleep analysis, and physical activity analysis
- Epoch Explorer: inspect 24-hour timelines, activity class distributions, acceleration distributions, class-by-hour views, MVPA accumulation, multi-day heatmaps, and non-wear patterns
- Secondary signals: view
anglez,lux, andtemperaturewhen those optional epoch fields are present - Docs: follow export instructions, review the data model, and check troubleshooting guidance
| Route | Purpose |
|---|---|
/ |
Upload parquet files and preview schema, metadata, and tabular data |
/visualization |
Main day-level dashboard for sleep and physical activity |
/epoch-explorer |
Epoch-level exploration for participants and dates |
/docs |
Documentation for parquet export, schema, and usage |
- A modern browser with WebAssembly support (e.g. Chrome, Firefox, Edge, Safari)
- GGIR output exported as parquet
- The
arrowR package in your GGIR environment
For the expected parquet structure, see GGIR_DATA_MODEL.md.
- The app expects GGIR parquet output from wearable accelerometer studies and reads both top-level summary columns and nested epoch data.
- Behavioral class labels may come from parquet metadata via the
behavioral_codeskey. - Some files include optional epoch-level fields such as
lux,anglez, ortemperature, which the app will visualize automatically when available. - The Epoch Explorer requires a nested
epochscolumn. If that column is missing, the dashboard can still be used for day-level exploration.
- The upload-page tabular preview currently reads up to the first 10,000 rows from the parquet file.
- The Epoch Explorer depends on nested epoch data and may not be available for summary-only parquet files.
- Very large epoch-heavy recordings can increase browser memory usage and reduce responsiveness.
- The first use still depends on downloading DuckDB-Wasm assets before analysis can happen in-browser.
- Browser-side processing helps keep uploaded data local to the app session, but this README should not be interpreted as a legal or regulatory compliance guarantee by itself.
Local setup is only needed if you want to contribute or run the app yourself.
- Node.js 18+
- npm
git clone https://github.com/samuelafolabi/ggir-web-dashboard.git
cd ggir-web-dashboard
npm install
npm run devThen open http://localhost:3000.
npm run build
npm start
npm run lint- Next.js
- React
- DuckDB-Wasm
- Plotly.js
- Tailwind CSS
- Radix UI
Contributions are welcome from researchers, developers, and users with feature ideas or bug reports.
- Fork the repository.
- Create a feature branch:
git checkout -b feature/my-change - Install dependencies and run the app locally.
- Make your changes and run
npm run lint. - Commit your work and open a pull request.
If you find a bug or want to request a feature, please open an issue in the GitHub repository.
If you use this project in research, please cite it using the metadata in CITATION.CFF.
This project is distributed under the MIT License. See LICENSE for details.
- Use GitHub Issues for bug reports and feature requests
- Use the hosted Docs page for export instructions and troubleshooting
