get time trend with freq and how

check resampling in Time Series
http://goo.gl/hCRjx4