Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a generic combined daily data provider #253

Open
brandoncharnesky opened this issue May 6, 2024 · 0 comments
Open

Create a generic combined daily data provider #253

brandoncharnesky opened this issue May 6, 2024 · 0 comments

Comments

@brandoncharnesky
Copy link
Contributor

There is an opportunity to make combined daily data providers more generic, as well as allow options that are specific to combined data sources.

For instance, the combined-steps data provider: It queries all three data sources, returns the data from each, then applies a max function, and returns the data as though it was from a single source.
For the combined-resting-heart-rate data: It queries all three data sources, returns the data from each, then applies an average function, and returns the data as though it was from a single source.

There can be a generic version of this type of combined data provider. This would also allow the specific individual data sources to be configured (ie Garmin and Google, but not AppleHealth), and the combine function to be specified. There is also some overhead in how these data sources are registered, especially regards to their availability checking functions, that could be simplified as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant