---
file_format: mystnb
kernelspec:
  name: python3
---

# Example Smart Health database data

This page demonstrates example data from the Smart Health database.

This data has been generated by the MVP Smart Health pipeline using _synthetic_ data.

The example data for each table can be downloaded under the corresponding heading below.


## Fitbit Daily Summary

```{code-cell}
:tags: [hide-input]

# import libraries
import pandas as pd

# Display all columns
pd.set_option("display.max_columns", None)

# Load the data
daily_summary = pd.read_csv(
    "../../../tests/data/clean/clean_fitbit_summary_2025-12-10.csv"
)

# Show the first five rows
daily_summary.head()

```

```{eval-rst}
:download:`Download the Daily Summary data here <../../../tests/data/clean/clean_fitbit_summary_2025-12-10.csv>`
```

## Fitbit Intraday Activities

```{code-cell}
:tags: [hide-input]

# Load the data
fb_intraday = pd.read_csv(
    "../../../tests/data/clean/clean_fitbit_intraday_2025-12-10.csv"
)

# Show the first five rows
fb_intraday.head()

```

```{eval-rst}
:download:`Download the Intraday activities data here <../../../tests/data/clean/clean_fitbit_intraday_2025-12-10.csv>`
```

## Intraday LSOA

```{code-cell}
:tags: [hide-input]

# Load the data
intraday_lsoa = pd.read_csv(
    "../../../tests/data/clean/clean_lsoa_2025-12-10.csv"
)

# Show the first five rows
intraday_lsoa.head()

```

```{eval-rst}
:download:`Download the Intraday LSOA data here <../../../tests/data/clean/clean_lsoa_2025-12-10.csv>`
```

## Intraday Mobility

```{code-cell}
:tags: [hide-input]

# Load the data
intraday_mobility = pd.read_csv(
    "../../../tests/data/clean/clean_mobility_2025-12-10.csv"
)

# Show the first five rows
intraday_mobility.head()

```

```{eval-rst}
:download:`Download the Intraday Mobility data here <../../../tests/data/clean/clean_mobility_2025-12-10.csv>`
```

## Intraday Environmental

```{code-cell}
:tags: [hide-input]

# Load the data
intraday_env = pd.read_csv(
    "../../../tests/data/clean/clean_environmental_2025-12-10.csv"
)

# Show the first five rows
intraday_env.head()

```

```{eval-rst}
:download:`Download the Intraday Envrionmental data here <../../../tests/data/clean/clean_environmental_2025-12-10.csv>`
```
