Giter Site home page Giter Site logo

g3-assessment-week-16's Introduction

Hydroponics Tracker

Background

You want to automate your indoor garden setup. Being a crafty, nerdy type of person, you hooked up sensors to your plant containers, and you track metrics such as:

  • container name
  • pH levels
  • Nutrient solution levels
  • Temperature
  • Water levels

Each container's data are written out to tab-delimited log files, in this format:

<timestamp>	<container name>	<pH>	<nutrient solution level>	<temperature>	<water level>

Stories

Your mission is to be able to be able to tell what the average pH, nutrient solution level, temperature and water levels were for each plant container.

Your program must, at a minimum:

  • take a file path as an argument
  • return a hash that has the average ph, average nutrient solution level, average temperature and average water level for each container mentioned in the file
  • return the name of the container that has the highest average temperature for all of the data loaded
  • return the name of the container that has the highest absolute water level for all of the data loaded
  • return a hash that has the average ph, average nutrient solution level, average temperature and average water level for all of the data loaded. This is not separate for each container
  • return the name of a container that has the highest absolute ph for a date range. You will provide the start date and end date

Check your work

The correct answers are:

container1

pH nutrient solution level temperature water level
5.01 39.02 57.76 2.12

container2

pH nutrient solution level temperature water level
5.95 19.77 73.06 3.8

container3

pH nutrient solution level temperature water level
7.01 10.97 67.61 4.7

Highest Average Temperature

container2

Highest Absolute Water Level

container3

Average stats for all containers

pH nutrient solution level temperature water level
5.99 23.25 66.15 3.54

Highest absolute ph for

container3

References

g3-assessment-week-16's People

Contributors

mikegehard avatar hillrw3 avatar

Watchers

James Cloos 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.