Fixed/improved date-by-rank calculation.
Removed redundancies in decorator code and added missing decorator @expect_float.
Improved view function names, because these are currently used to generate the endpoint titles in Swagger.