Coder Social home page Coder Social logo

toladata / tolatables Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 11.0 8.92 MB

Connect to various data services, then edit, merge and share your data

License: GNU General Public License v2.0

Python 19.63% Shell 0.13% CSS 4.95% JavaScript 63.73% HTML 11.55% Dockerfile 0.01%

tolatables's People

Contributors

augustmiller avatar bogdangi avatar dborchers avatar denisneuling avatar gartea avatar jefmoura avatar mahmoodkhan avatar mattjurz avatar odenypeter avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tolatables's Issues

Streamline the UI

The Source form should show field only applicable for that source.
Change Edit Data menu item to "Your Tables"
Remove the List of Sources View

Fix test scripts

Currently the test scripts are not passing. We probably need to come up with a procedure to update these scripts as part of our development process.

Import CSV error

error when importing the attached CSV data set, but table still imports

Add import and auto-pull from GoogleSheets feature

If you can set an auto-pull in TolaTables from GoogleSheets it would add a lot of flexibility. Auto-pulling from Ona is a highly useful feature for new and running quantitative surveys sending data from ODK. But survey data could be synthesized with secondary, historic, or quantified qualitative data in GoogleSheets, and data from old projects or any other static datasets living in Excel files on program staff computers (the majority of datasets) could by put into GoogleSheets. If TolaTables were able to auto-pull from these GoogleSheets, then a much wider range of field team members would be able to organize, clean, and process their data for utility in Tola.

Bad merge attempts creates unhelpful errors and bad links on user's My Tables page

If a user merges two tables and creates a bad map, they receive a 500 error on submit, but the system still creates the table. The error should be more detailed for the user.

Then if the user then tries to load that table on their "My Tables" page they receive a
"There is not data in Table with id = ##"

Bad merge attempts, or empty tables, should not create links on the users "My Tables" page

Silos without data should not provide an edit button

Issue by glind
Tuesday Sep 29, 2015 at 22:14 GMT
Originally opened as https://github.com/mercycorps/tola/issues/59


Currently a silo without data allows you to click the edit button then shows you a message that the silo does not have data (doesn't work on Safari though). It would be better if the edit button was disabled and a message displayed letting the user know they should add or import data.

Similar to how Tola-Activity does this in the dashboard workflow:
https://www.dropbox.com/s/dg3lmz8mpbznqlk/Screenshot%202015-09-29%2015.13.48.png?dl=0

README.md update

Issue by dborchers
Monday Jan 11, 2016 at 16:50 GMT
Originally opened as https://github.com/mercycorps/tola/pull/75


Tola Tables

Share, Load, Edit and Display data from various mobile data collection platforms.

The Read app is intended for use with FormHub or Ona data collection platform. You should be able
to add an additional app using Read as a template to import data or create new "reads"
from other data sources. You only need to import the new app, add the new read templates
and update the base template to include your new app as sub-navigation to the main read.

Feed: A new JSON or XML feed of one or more aggregated data sources

Read: A data source to load data into the system from

Silo: A data store that can combine one or more Feeds (Data sources)

Display: Where data is viewed and edited

Install virtualenv

$ pip install virtualenv

Create Virtualenv

$ virtualenv ENV

  • Where ENV is a directory to place the new virtual environment. You can name it as wanted. It contains the Python executable files, and a copy of the pip library

Activate Virtualenv

$ source bin/activate

Fix probable mysql path issue (for mac)

$ export PATH=$PATH:/usr/local/mysql/bin

  • or whatever path you have to your installed mysql_config file in the bin folder of mysql

$ pip install -r requirements.txt

Set up DB

$ python manage.py syncdb

Run App

If your using more then one settings file change manage.py to point to local or dev file first

$ python manage.py runserver 0.0.0.0:8000

GOOGLE API
$ sudo pip install --upgrade google-api-python-client

  • 0โ€™s let it run on any local address i.e. localhost,127.0.0.1 etc.

dborchers included the following code: https://github.com/mercycorps/tola/pull/75/commits

Changing column name (multiple times) causes error

If a user edits a column name, saves it and then edits it again and clicks saves, there is an error if the page or table is not reloaded first.

Request Method: POST
Request URL: https://tola-tables-demo.mercycorps.org/edit_columns/4/
Django Version: 1.8.2
Exception Type: WriteError
Exception Value:
An empty update path is not valid.
Exception Location: /usr/local/lib/python2.7/site-packages/pymongo/helpers.py in _check_write_command_response, line 261

Bootstrap upgrade causes responsive containers (with scrolls) to break drop down functionality.

This problem is visible on all of our drop down items in responsive tables since the upgrade to bootstrap 3.3 with the new design and can fixed by not using responsive. Other fixes are detailed below and bootstrap response.

http://stackoverflow.com/questions/26018756/bootstrap-button-drop-down-inside-responsive-table-not-visible-because-of-scroll

twbs/bootstrap#7160

twbs/bootstrap#11037

It looks like there are several hack solutions for css we can do, might be nice to come up with one solution for all. Either way it doesn't look like the bootstrap team wants to tackle this issue any time soon.

Import from ONA - How does using repeats affect merge/export functions in Tola Tables

Issue by glind
Tuesday Nov 03, 2015 at 08:59 GMT
Originally opened as https://github.com/mercycorps/tola/issues/68


[email protected] We were able to import two tables from Ona that have repeats (repeats creates two sheets in the workbook) and merge the two tables. We could view, edit the first sheet. When tried to "SHARE" and create new Google Sheet, it created the google sheet but with no data. Wondering if this has something to do with the repeats why it didn't export?

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.