Coder Social home page Coder Social logo

mgranberry / in-d-gestion Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tidepool-org/in-d-gestion

0.0 2.0 0.0 1.95 MB

Library for ingestion of data from various vendor-specific sources into the Tidepool.org platform for diabetes data

License: Other

JavaScript 100.00%

in-d-gestion's Introduction

in-d-gestion

Library for ingestion of data from various vendor-specific sources into the Tidepool.org platform for diabetes data.

Looking at the code

Primary entry-point is lib/index.js.

Parsing and fetching code is broken down by vendor-specific objects on the thing returned from lib/index.js.

That is currently just carelink right now.

Easiest way to see how to use the parser is to look at test/carelink/testParser.js

Libraries to be aware of

The code leverages the Rx library pretty extensively for stream processing. There is a lot to this library. You can read about its philosophy at http://reactive-extensions.github.io/RxJS/ or its documentation at https://github.com/Reactive-Extensions/RxJS/tree/master/doc

We implement a few extensions to it in the lib/rx directory. These extensions are added to the rx.Observable.prototype, so the usage can appear the same as if we are using a native rx method. If you are trying to figure out what a method does and you are unfamiliar with it/you cannot find the docs for it on the main RxJS page, make sure to check the various extensions under lib/rx.

Command Line

Carelink

Fetch

You can fetch raw data from carelink with

./bin/carelink/mmcsv fetch -u <username> -p <password> -d <num_days> stdout

Parse

You can parse raw data fetched from carelink with

node bin/carelink/parse.js <csv_file_to_parse>

Diasend

Fetch

You can fetch data from diasend with

node bin/diasend/fetch.js -u <username> -p <password> -d <num_days> stdout

Parse

You can parse data fetched from diasend with

node bin/diasend/parse.js <xls_file_to_parse>

t:connect

Fetch

You can fetch data from t:connect with

node bin/tconnect/fetch.js -u <username> -p <password> -d <num_days> stdout

Parse

You can parse data fetched from t:connect with

node bin/tconnect/parse.js <xml_file_to_parse>

in-d-gestion's People

Contributors

cheddar avatar cmakler avatar jebeck avatar kentquirk avatar mgranberry avatar

Watchers

 avatar  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.