Board Thread:The Quarters - Q & A/@comment-178.201.250.152-20140328120145/@comment-24150802-20140328125942

I'm very interested in seeing this done, either by myself or anyone else.

There's some limitations that are worth keeping in mind (either to be aware of what can't be done, or to find ways to work around them):

- The data source that my User Data Display Tool uses is the "/user" section of the API. This has a lot of nice information but holds little historical data (data more than a few days old has to be purged out of it to keep the HabitRPG website fast and responsive). So, my tool is (currently) unable to show anything that goes back more than a few days. There are ways that I could change that, but nothing very simple, and nothing that will happen in the short term.

- There are other data sources from the export options (wiki page) which do hold historical information but: (a) it's limited to a few months for non-subscribers (if I recall correctly); (b) even for subscribers, the habit history is condensed to save on storage space (e.g., for data more than a month old, there is just one data point per month, and that data point is a summary of all the data points that used to exist for that month). So, we'll never be able to have detailed, point-by-point historical data (unless we create our own data store, which has it's own issues, to put it mildly). But probably, we don't really need detailed historical data (just averages might give a good enough effect). I am actually quite impressed with HabitRPG's condensing idea; it's a clever solution to disk space and performance issues.

- However, the condensing code seems to condense even data from the current day. I've logged an issue about this. I'm not sure if it's deliberate; I suspect a bug. So, for the moment at least, we can't show even detailed habit history for the current day. :(

I might edit this comment later to add more limitations if I think of any. Don't be discouraged by this though; there's usually ways to accomplish anything you really want.