Added a method to fetch all distinct periods for which data were saved