OpenHumans / quantified-flu

Can wearables warn us when we're getting sick? A community citsci project – open source & open data!
https://quantifiedflu.org
MIT License
25 stars 4 forks source link

Expose additional historical data for retrospective sick events #18

Open likeaj6 opened 4 years ago

likeaj6 commented 4 years ago

Exposing more historical data in public sick events

Currently the exposed public retrospectively labeled sick events only give access to a ~2-week window before and after the event.

Additional historical data (3-6+ months worth, possibly even more) is necessary for most prediction and detection models, so that a model, particularly time series analyses models, may feasibly learn what "normal"/baseline looks like. This would also help identify and filter out innate time trends & seasonality within the data (such as temperature & menstrual cycles within Oura data).

A possible user-centric solution would allow the user to select how much data they're like to share within privacy settings. Some considerations around the default settings should be had as well.

gedankenstuecke commented 4 years ago

@madprime and I discussed this and thought that 3 months would be a good cut-off between data sharing concerns and usefulness of the data.

Implementing this would require a bit more work, as currently we expose the same json that is used for the interactive data visualization for the public data. But I don't think we want to change our graphs to include 3 months of historic data, as it shifts the scale (plus the visualizations with as many points get sluggish).

So for the implementation we would need the following: