Error: 'function' parameter not supplied, please see the following manual: required parameters: 'function' o-> option of 'results', 'avg_daily', 'avg_monthly' and 'avg_annual' 'output' o-> option of 'text' or 'votable' 'delim' o-> delimiter for text output, option of 'tab', 'space', 'comma' or 'semicolon' (defaults to 'comma') 'startDate' and 'endDate' o-> date limits on results, in the format 'yyyymmdd' for example: '20090131' optional parameters: 'sdevtol' o-> standard deviation tolerance specified as a maximum decimal value for example: '0.15'