Model Evaluation Queries#

The TEEHR data library provides tools for querying data from the cached parquet files or database and for generating metrics. This includes:

  • Get Timeseries

  • Get Timeseries Characteristics

  • Get Joined Timeseries

  • Get Metrics

Get Timeseries#

This feature simply applies filters to the timeseries tables and returns the requested timeseries.

Get Timeseries Characteristics#

This feature returns simple summary statistics on the requested timeseries.

Get Joined Timeseries#

This feature joins two different tables of timeseries together based on location and time, applies filters and returns the paired timeseries

../_images/joined_timeseries.png

Getting joined timeseries schematic.#

Metrics#

This feature starts by joining the timeseries as described above, then the timeseries are grouped to create populations, then the requested metrics are calculated.

../_images/metrics.png

Calculating metrics schematic.#

For a list of the metrics currently available in TEEHR, see Available Metrics