Coder Social home page Coder Social logo

reportgen's Introduction

BAX report generation toolkit

This repository contains a set of python3 tools for generating matplotlib-based graphs from BuildAX datasets.

Dependencies

BAXTest tooling from the openmovement repository:

    git clone https://github.com/digitalinteraction/baxTest.git
    cd baxTest && make && cd -
    export BAX_TOOLS_DIR=./baxTest

Example call:

~/Code/reportgen/report.py \
	--map ~/Dropbox/PhD/BuildAX/Cassie/maps/Ground\ floor\ Cassie\ 001.jpeg \
	--location "Cassie Ground Floor" \
    -p \
    ~/Dropbox/PhD/BuildAX/Cassie/split/Ground\ Floor.csv \
    ~/Dropbox/PhD/BuildAX/Cassie/Cassie_Ground.pdf

APT deps

apt-get install python-dev libxml2 libxml2-dev libxslt-dev python3-tk

Python deps

Install these using pip3 install -r conf/requirements.txt. You may wish to use a virtual environment like so:

    (sudo) pip3 install virtualenv
    python3 -m venv ENV
    . ./ENV/bin/activate
    pip3 install -r conf/requirements.txt

reportgen's People

Contributors

sjmf avatar

Stargazers

 avatar

Watchers

 avatar

reportgen's Issues

Data loss

Data is being lost on read with updated versions of the pip dependencies.

TODO: Narrow down which dep is causing this behaviour.

E.g. On a sample data file, the expected read would show:

INFO:__main__:Data files range from 2015-05-15 14:51:56 to 2016-07-06 14:31:31
INFO:__main__: ID      | Packets 
INFO:__main__:=========|=========
INFO:__main__:42CAE0CE | 147165
INFO:__main__:42A91C18 | 158564
(etc)

However, the actual behaviour is:

INFO:__main__:Data files range from 2015-05-15 14:51:56 to 2016-07-06 14:31:31
INFO:__main__: ID      | Packets 
INFO:__main__:=========|=========
INFO:__main__:42CAE0CE | 515
INFO:__main__:42A91C18 | 882
(etc)

(tested against reportgen release v1.0)

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.