get data to forecast