Skip to content

Instantly share code, notes, and snippets.

@UniSurreyIoT
Last active April 6, 2017 10:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save UniSurreyIoT/b5f2db111e6abb8114e8bdedc1267313 to your computer and use it in GitHub Desktop.
Save UniSurreyIoT/b5f2db111e6abb8114e8bdedc1267313 to your computer and use it in GitHub Desktop.

IoT Data Analytics Service

Introduction

...

How to interact

  1. URL: http://iot.ee.surrey.ac.uk:8081/AnalyseData
  2. POST request
  3. Specify the headers as shown in the figure below
  4. Send the Methods, Parameters and Link to the Data (DataPointer) to the server, as shown in the figure below.
    KAT-analyseData

How to use

• DataPointer corresponds to the link of data, in CSV format. Furthermore, the data type must be numerical (float/int etc). • The number of parameters and number of methods must be equal, even if the parameter would be redundant for the method selected, example being, A-Non. • The list of methods and the corresponding code for selecting them is shown below:

  1. A-Non – Code for no data analysis (no parameter)
  2. B-Clean – Cleans data (no parameter)
  3. C-Outlier – Removes Outliers (no parameter)
  4. E-MovingAvg- Carries out moving average filtering (One parameter: window size)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment