Git Product home page Git Product logo

formpack's People

Contributors

dorey avatar duvld avatar jacquelinemorrissette avatar jnm avatar joshuaberetta avatar ksamuel avatar m4tx avatar noliveleger avatar

Stargazers

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

Watchers

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

formpack's Issues

HXL exports

At a minimum, allow an optional 2nd header row of an export to contain #hxl tagged columns

Change default file names

Currently all files are just named by the form ID, which is not helpful in organizing many exported files.

[form title] - [type] - YYYY-MM-DD - HH-MM-SS.[extension]

Whereas [type] can be:

  • values
  • labels
  • language1
  • language2

ktable testing issues

  • select_multiple is not split into different columns
  • responses are not displayed using language labels
  • when using 'label' and 'label::language' only 'label::language' is available in ktable
  • uuid, submision time not included in exports
  • first select_one question missing from XLS export. See
    screenshot
  • repeat group sheet in XLS doesn't include responses for one question (and the question is shown in a weird place) See screenshot
  • XLS exports can't open in Excel
  • gps is not split into multiple columns

Filter by column value

Select specific response, e.g. 'gender = female'

Additional filters will be done in a future story.

Testing / export issues

  • for blank responses in select_multiple questions, don't write 0 and 1 in the split columns (it's a null response and these need to stay empty as well)
  • text and barcode response columns should be formatted as text in Excel (otherwise leading zeros are stripped from e.g. phone numbers, ID numbers)
  • integers are stored as text in Excel, they should be stored as General or Numbers
  • Dates are not recognized in Excel (en_US)
  • the order of columns for split select_multiple questions is not correct: it should be the same order as in the form (right now seems to be random)
  • parent groups are duplicated in split GPS columns

original question: d/G_A/group_qb6pp39/GPS_coordinates
Expected split question: d/G_A/group_qb6pp39/GPS_coordinates_latitude
Current: d/G_A/group_qb6pp39/_d/G_A/group_qb6pp39/GPS_coordinates_latitude

  • leading and trailing spaces from Text responses are not included in cells but should be (like in CSV)
  • _id column is missing from export (kc's pk), this may be important to some power users

Include link to media in Excel download

For each media attachment (video, image, recording) that was sent with a submission, include a direct link to the file in an additional column named [original_question_name] - URL.

This URL should be a clickable link, which can be achieved with the 'hyperlink' function in Excel. (But not necessary as long as URL is interpreted as a link by Excel).

=hyperlink("https://kc.kobotoolbox.org/attachment/original?media_file=[username]/attachments/[filename]")

Related to #43.

Import/Export formpacks

We need the ability to import from and export to a number of different formats.

  • import ss[json]
  • import xls
  • import instance xml
  • import instance json
  • import xml[zip]
  • import from formpack[json]
  • import from django queryset
  • export to formpack[json]
  • export to xml[zip]
  • export to photos[zip]

Include links to media attachments in html view

For each media attachment (video, image, recording) that was sent with a submission, include a direct link to the file:

<a href="https://kc.kobotoolbox.org/attachment/original?media_file=[username]/attachments/[filename]">[filename]</a>

Render to XLS module

include a way to export a properly formatted OrderedDict to an XLS file with ordered named sheets.

Sort order of multi select columns in data exports should mirror form order

the order of columns for split select_multiple questions is not correct: it should be the same order as in the form (right now seems to be random). When a select_multiple response wasn't ticked in any submission it should still be included as a blank column in the dataset. Formpack currently excludes it.

See screenshot:
image

Expected output would be this (column b follows column a, as in the form design):
image

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.