Giter Site home page Giter Site logo

somenergia-dataexports's Introduction

somenergia-dataexports

Several scripts to retrieve information from OpenERP data.

distribucio_de_socies.py

Generates a csv file (tab separated) counting members for each municipality.

Usage:

$ distribucio_de_socies.py [<iso-date>]  >  <output.csv>

Example:

$ distribucio_de_socies.py 2015-02-01 > DistribucioSocies-2015-02.csv

TODO's

  • Historical unaccuracies
    • deactivated members are not counted when they were still members
    • Members who started as owner or payer, are counted as member since then

mapa_socies.py

Generates svg maps of the distribution of the members.

mchimp-generationsocis.py

Generates csv to feed mailchimp mailings from OpenErp data

somenergia-dataexports's People

Contributors

vokimon avatar cesarlr avatar marta197 avatar oriolpiera avatar

Watchers

Pablo avatar Pres avatar Oscar Fonts avatar  avatar  avatar David Romaní avatar James Cloos avatar javikalsan avatar Wouter Tebbens avatar Eric Garcia avatar Jose Enrique Ruiz Navarro avatar David Riera avatar Roger avatar Dani Estanyol avatar Daniel Quilez avatar  avatar  avatar Eduard Quintana avatar Roc Teis Segura avatar  avatar Juan Pedro Sánchez avatar  avatar  avatar Diego Quintana avatar  avatar

somenergia-dataexports's Issues

Create a guide for those that want to generate a municipality level map

We are open to collaboration to add member distribution maps of smaller regions (local groups, counties) and detailed to municipality level.

  • Find an SVG map of the region with the divisions of the municipalities (try in wikipedia)
  • Turn the SVG into a template so that the script is able to change the colors of each polygon and the captions and texts.

Turning an SVG into a template is not a straight forward task so a quick guide is required.

Add contracts distribution maps

Contract distribution maps should be easier than member distribution as the contracts are more precisely located (members may have many addresses and often is hard to choose the one to pick, while contracts have a unique location).

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.