Google Health Connect Export Overview
Google Health Connect allows for multi-stream data collection from Android devices, including third-party apps and devices as well as Personal Health Records. There are two main categories of data schemas available:
To enable Health Connect sensor data collection, navigate to the Sensor & EHR section of your project and enable the data types you want to collect. To enable data exports, check the CSV or JSON box for Health Connect within the Data Export Settings.
Participants may connect multiple devices or data sources to Health Connect which collect similar data, such as Steps or Heart Rate data, resulting in duplicate data over the same time period. Ensure you use record metadata to discern when different sources are contributing to each participant's data to avoid inaccurate results.
Records Schemas
Health Connect Records are defined by the following characteristics:
-
All include the same initial properties consisting of user and device metadata, with some having additional type-specific properties
-
There are two types of time ranges:
- "Interval" records contain `StartTime` and `EndTime` properties.
- "Instant" records contain a `Time` property
- Timestamps are local times with specified offsets
- All record types have a Deleted sub-table for deleted records (I.e. `HealthConnectRecords_Exercise_Deleted_20260317-20260318.csv`)
- Some have embedded arrays (json format) or sub-tables (csv format) that vary by type, such has `HeartRate_Samples` and `Nutrition_Nutrients`
- Some have additional type-specific properties
The following records data schemas are currently supported.
- Active Calories Burned
- Blood Glucose
- Blood Pressure
- Body Temperature
- Distance
- Exercise
- Heart Rate
- Mindfulness Sessions
- Nutrition
- Oxygen Saturation
- Respiratory Rate
- Resting Heart Rate
- Skin Temperature
- Sleep
- Steps
- Steps Cadence
- Total Calories Burned
- VO2 Max
- Weight
Each record scheme above also includes a corresponding Deleted Records export. More details can be found in Google's Health Connect Records documentation.
Aggregate Schema
Health Connect Aggregate data contains Records which are aggregated over the specified time window. They conform to the following characteristics:
- All aggregates have the same schema
- Daily aggregates have start and end times without offsets, representing whole days in the participant's local time
- Other aggregate windows (hourly, half-hourly) have local start and end times with offsets
The following aggregate data types supported as Health Connect Aggregates Export Format:
- Active Calories Burned Daily
- Distance Daily
- Heart Rate Daily
- Steps Daily
- Steps Half Hourly
- Steps Hourly
- Total Calories Burned Daily
More details can also be found in the Health Connect Aggregates documentation.