Added a default sampling period of Minute to the data.py file. This will allow users to leave sampling period blank in data endpoint.