TheTedAdams / examined-life

The life worth living.
1 stars 0 forks source link

Create generic data type(s) for internal usage #3

Open enriched opened 9 years ago

enriched commented 9 years ago

Concept is to identify commonalities in the data so that we can generically combine data from different sources. To do this we need to identify the key differences and similarities in the data that we are consuming from external apis as well as have a roadmap for what we intend to consume.

TheTedAdams commented 9 years ago

I think the important thing is that every metric is keyed by date. Then if metrics are mostly numeric, we can always look for correlations over the date axis

enriched commented 9 years ago

Off the top of my head:

enriched commented 9 years ago

fitbit units (per the api): weight measurements liquids height elevation duration distance blood glucose

enriched commented 9 years ago

Google fit is probably a well thought out example for exercise data

enriched commented 9 years ago

Using a dimension, metrics, and segment api could allow us to have a dynamic system of available metrics for a given data stream. We could query that stream to find the available metrics and create views accordingly.

enriched commented 9 years ago

https://developers.google.com/analytics/devguides/reporting/core/dimsmets

enriched commented 9 years ago

I think that the best pattern might be a entity component system. That allows for discovery of what is available as you traverse the tree of datasets.