Package: odkr 0.3.3.9000

Ernest Guevarra

odkr: 'Open Data Kit' ('ODK') R API

Utility functions for working with datasets gathered using 'Open Data Kit' ('ODK') <https://opendatakit.org/>. These include an API to interface with 'ODK Briefcase', a 'Java' application for fetching and pushing 'ODK' forms and their contents, that allows pulling of data from either a remote 'ODK Aggregate Server' or a local 'ODK' folder, a rename function to give more human readable variable names for 'ODK' datasets, a merge function to create a single dataframe from a nested 'ODK' dataset and an expand function to disaggregate multiple choice answers that have been collapsed into single code by 'ODK'.

Authors:Ernest Guevarra [aut, cre, cph], Laura Bramley [aut, cph], Jeffrey W. Rozelle [ctb]

odkr_0.3.3.9000.tar.gz
odkr_0.3.3.9000.zip(r-4.5)odkr_0.3.3.9000.zip(r-4.4)odkr_0.3.3.9000.zip(r-4.3)
odkr_0.3.3.9000.tgz(r-4.4-any)odkr_0.3.3.9000.tgz(r-4.3-any)
odkr_0.3.3.9000.tar.gz(r-4.5-noble)odkr_0.3.3.9000.tar.gz(r-4.4-noble)
odkr_0.3.3.9000.tgz(r-4.4-emscripten)odkr_0.3.3.9000.tgz(r-4.3-emscripten)
odkr.pdf |odkr.html
odkr/json (API)
NEWS

# Install 'odkr' in R:
install.packages('odkr', repos = c('https://rapidsurveys.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/rapidsurveys/odkr/issues

Uses libs:
  • openjdk– OpenJDK Java runtime, using Hotspot JIT
Datasets:
  • sampleData1 - Sample dataset from an impact evaluation study of a mother and child nutrition programme in Kassala State, Sudan. This dataset contains cluster level data from the survey.
  • sampleData2 - Sample dataset from an impact evaluation study of a mother and child nutrition programme in Kassala State, Sudan. This dataset contains information from mother respondents.
  • sampleData3 - Sample dataset from an impact evaluation study of a mother and child nutrition programme in Kassala State, Sudan. This dataset contains information from child respondents.

On CRAN:

odkodk-briefcaseopen-data-kit

11 exports 11 stars 1.31 score 67 dependencies 19 scripts 16 downloads

Last updated 5 months agofrom:b581df1891. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 12 2024
R-4.5-winOKSep 12 2024
R-4.5-linuxOKSep 12 2024
R-4.4-winOKSep 12 2024
R-4.4-macOKSep 12 2024
R-4.3-winOKSep 12 2024
R-4.3-macOKSep 12 2024

Exports:create_sdexpand_choiceexpandMultChoiceexport_dataget_briefcaseget_helpmergeNestedODKpull_localpull_remotepush_datarenameODK

Dependencies:backportsbase64encbslibcachemcheckmatecliclustercolorspacecurldata.tabledigestevaluatefansifarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmimemunsellnlmennetpillarpkgconfigR6rappdirsRColorBrewerrJavarlangrmarkdownrpartrstudioapisassscalesstringistringrtibbletinytexutf8vctrsviridisviridisLitewithrxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Function to create an ODK Briefcase Storage directorycreate_sd
Function to expand response to a more than one answer multiple choice question coded as a concatenated stringexpand_choice
Function to recode a choose-multiple column where multiple answers are recorded in the same element (e.g. "ab ac ad", "ef eg eh") to a data frame with multiple separate 0/1 columns e.g.:expandMultChoice
Export data in CSV format from local ODK Briefcase Storage directory to a specified destination directory and a specified file nameexport_data
Updates pre-installed ODK Briefcase 'jar' file to the latest version downloaded from <https://opendatakit.org>.get_briefcase
Get help with command line interface for ODK Briefcaseget_help
Retrieve parent data, matching to a nested (child) dataset by keys of a nested dataset exported from an ODK Aggregate Server.mergeNestedODK
Pull ODK forms from a local ODK folder ('/odk') collected from ODK Collect mobile clientspull_local
Pull ODK forms from remote ODK Aggregate via ODK Briefcasepull_remote
Push ODK forms from local ODK Briefcase Storage folder to remote ODK Aggregate via ODK Briefcasepush_data
Rename column names of data exported from an ODK Aggregate Server or from ODK Briefcase into more usable and human readable variable names.renameODK
Sample dataset from an impact evaluation study of a mother and child nutrition programme in Kassala State, Sudan. This dataset contains cluster level data from the survey.sampleData1
Sample dataset from an impact evaluation study of a mother and child nutrition programme in Kassala State, Sudan. This dataset contains information from mother respondents.sampleData2
Sample dataset from an impact evaluation study of a mother and child nutrition programme in Kassala State, Sudan. This dataset contains information from child respondents.sampleData3