Git Product home page Git Product logo

build2xlsform's Introduction

opendatakit

The developer wiki (including release notes) and issues tracker are located here.

This site is primarily for developers. If you are not a developer, please visit https://getodk.org/

ODK is a free and open-source set tools which help organizations author, field, and manage mobile data collection solutions. ODK provides an out-of-the-box solution for users to:

  • Build a data collection form or survey;
  • Collect the data on a mobile device and send it to a server; and
  • Aggregate the collected data on a server and extract it in useful formats.

In addition to socio-economic and health surveys with GPS locations and images, ODK is being used to create decision support for clinicians and for building multimedia-rich nature mapping tools. See featured deployments and list of tools for more examples of what the ODK community is doing. We welcome and encourage participation from the user community.

Downloads of the tools are available at Downloads.

build2xlsform's People

Contributors

florianm avatar issa-tseng avatar lognaturel avatar yanokwa avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

build2xlsform's Issues

Wrap known Data Names in relevance with ${}

I think this might be hard thing to fix, but figured I'd file it.

Given a form that uses the "or other" option, the logic that gets exported to XLSForm isn't correct.

In the relevant column of favorite-color-other, I expect (selected(${question}, 'o')), but I get (selected(question, 'o')).

The Data Name should be wrapped with ${}. The path doesn't matter because pyxform requires that the Data Name to be unique.

Missing required_message in Export to XLSForm

Tested version is: ODK Build 0.3.5 (offline version on Windows 64-bit OS)
Required text does not exported (i.e. there is no required_message column) in use the Export to XLSForm functionality in the File menu, even they are exists in the exported XML file when use the Export to XForm functionality.

Support guidance and short label

This issue complements getodk/build#244
Merging #12 and #14 first would provide a clean starting point.

Guidance

XLSForm supports guidance as guidance_hint as per docs.

The following steps work and produce the attached file Short-guidance-export.xlsx

Short label

The XLSForm spec does not mention a short label anywhere.
Is a short label supported at all?
If it's not supported, then maybe issue a warning about information loss like at https://github.com/getodk/build2xlsform/blob/master/src/convert.ls#L238 ?

Support auto_send and auto_delete

Analogous to getodk/build#165

I can't find anything about this in the ODK docs or in the XLSForm docs, but XLSForm/pyxform#178 reads like there should be columns "auto_send" and "auto_delete" with string values "true" or "false" next to the settings column "submission_url".

Likely entry point is gen-settings.

Note to self: issue/PR to docs re autosend/delete.

Numeric slider range parameters start, end, step should be numeric, not string

A numeric field with a slider will let a user type in the numeric min, max, and step width:
image
Note the values are numeric.

In the exported XForm, this becomes a <range ref="/data/group1/slider" start="0" end="8" step="1">. Note the values are quoted strings. The XForm however uploads and works fine.

In the exported XLSForm, this becomes a parameter with value start="0" end="8" step="1". Note the values are quoted strings - this is in contrast to the XLSForm spec showing numeric values for start, end, step. build2xlsform probably did nothing wrong(er) here. The XLSForm raises an error in ODK Central:
image

Manually changing the XLSForm parameter to start=0 end=8 step=1 fixes the ODK Central error.

How much of an issue is this for Build users? Question for user analytics: How many users go from Build to XLSForm (are we logging this?) and trip over sliders (are we logging form import warnings)?

Support Audit

Analog to getodk/build#284

This one is in the "hard" basket for sure. Audit settings in the XML are in the form metadata but need to become a question in the "survey" sheet of the XLSForm. The existing plumbing separates form metadata (like instance name - gen-settings) from form questions (convert-question). I don't see a way to add audit that doesn't change existing plumbing considerably.

Any ideas or pointers, @issa-tseng?

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.