Only have weekly ranking history
The current ranking history graph is quite hard to read. What we really want is a weekly trend, both for R.G and BGG. So we should have only one ranking datapoint per week, every Sunday. Some required changes:
-
Change data type in model from DateTimeField
toDateField
-
Only ever use the BGG rankings from https://github.com/beefsack/bgg-ranking-historicals (on that Sunday, or latest data before that) -
Take all the R.G ratings in the given time frame (one week), average them, create a new ranking based on those numbers, and write that to the database -
Remove the dots from the graph with the concrete data points, remove the sliding window, and only display a line with the weekly trend from the database.
This should drastically reduce the size of the ranking data (at least 6/7) and speed up loading (#254 (closed)) and make it easier to display a trend (#251).
Edited by Markus Shepherd