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:
- Records
- Aggregates
To enable HealthConnect 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 HealthConnect within the Data Export Settings.
Records Schemas
HealthConnect 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
- All 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
- SkinTemperature
- Sleep
- Steps
- Steps Cadence
- Total Calories Burned
- VO2 Max
- Weight
More details can be found in the Health Connect Records documentation.
Aggregate Schemas
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 schemas are currently supported.
- Active Calories Burned Daily
- Distance Daily
- Heart Rate Daily
- Steps Daily
- Steps Half Hourly
- Steps Hourly
- Total Calories Burned Daily
More details can be found in the Health Connect Aggregates documentation.