GithubHelp home page GithubHelp logo

sensat's Introduction

Angular Programming Exercise

Some environmental sensors have been deployed on the field. There are various types of sensors (CO, Temperature, O3, SO2, Humidity, โ€ฆ). Sensors are housed in boxes, and a box contains one sensor of each kind. Boxes have been placed at various locations. The sensor data has been collected in a JSON file with the following schema:

{
  "id": "Box-A1-O3", // UUID for this sensor reading
  "box_id": "Box-A1", // UUID of the box
  "sensor_type": "O3", // type of the sensor
  "name": "Ozone", // type of data read by sensor
  "range_l": 0, // measuring range lower bound
  "range_u": 1000, // measuring range upper bound
  "longitude": -0.06507, // location of the box (lon)
  "latitude": 51.51885, // location of the box (lat)
  "reading": 817, // actual value being read
  "unit": "ppm", // measurement unit
  "reading_ts": "2019-09-10T00:00:00" // when the reading was taken
}

The file can be found in the data/ directory

Basic Task

Write an Angular application which

  1. reads the records from the sensor_readings.json
  2. displays them in a tabular component (nothing too ugly)
  3. allows the user to sort data by time and sensor type

Extra Tasks (two maximum)

  • allow user to enter new sensor data.
  • allows the user to filter data by sensor type/name.
  • plot a graph of sensor readings over time.
  • allow user to see sensor location on a map(use any lib google maps, openStreetMaps, openLayers, etc).
  • aggregate the data from all readings for the same sensor type, and compute the median of all its values. e.g
Box Sensor Type Median Unit
Box-A1-O3 O3 321 ppm
Box-A1-TEMP TEMP

Submission

Please include with your submission:

  • An explanation of any design decisions you've made (e.g. choice of libs, why you left parts out?, how you could improve this further, etc).
  • A brief guide on how to run the project.

sensat's People

Contributors

gmadges avatar nordboerg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.