Giter Site home page Giter Site logo

koboloaderlight's Introduction

koboloadeRlight

Prerequisite

To use koboloadeRlight, you will need at least a \bold{dataframe} that follows basic principales of Kobotoolbox exported files

  • No group names in the column headers
  • Download the data with XLM values and headers
  • No special characters in column headers or choices, expect for select_multiple questions (see below). To do so, make sure that there is sepcial symbols in your XLSform before export.
  • Select_multiple questions should appear in the dataframe in at least two columns (this is the default option when exporting data from kobo):
    • One generic column with the name of the question as header and all choices that were picked by respondents
    • One column per choice in the question. The name of the column should be the name of the question, followed by a forward slash, and the name of the choice (e.g. ws_multi/pomp).

Walk through

koboloadeRlight can handle two main scenarii of data exploration:

  • Data downloaded right from a Kobotoolbox server. Data and form are available.
  • Data from a kobotoolbox server modified. Typically cleaned data.

For the first scenario:

  • Import your data as a dataframe (with [read_csv()] or [read_excel] for instance).
  • Run [kobo_dico()] to build a dictionnary linking your form and your data.
  • Run a choice of [kobo_crunching_all()], [kobo_crunching()] or other analysis functions.

If you don't have access to the updated form:

  • If you added questions to your dataframe (e.g. made additional calculations that you stored as columns), make sure to add them to your form.
  • Run [kobo_to_xlsform()] to generate a new form from the data
  • If you have a XLSform that genereated your data, you can use [kobo_xlsform_relabel()] to relabel your choices and questions according to the form.
  • Run [kobo_dico()] to build a dictionnary linking your form and your data.
  • Run a choice of [kobo_crunching_all()], [kobo_crunching()] or other analysis functions.

References

This package is based on koboloadeR https://github.com/unhcr/koboloadeR. It provides a lighter alternative to koboloadeR, focusing on core functions. The package is built for data exported from KoboToolbox. Full documentation for KoboToolbox is available here : https://www.kobotoolbox.org/

koboloaderlight's People

Contributors

elliottmess avatar

Watchers

Bouke Pieter Ottow avatar

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.