![]() ![]() Transcribe_survey offers the user options to specify how the survey appears and how comprehensive it is. Choose whatever options you desire, and then hit F5 or choose "Run Module" in the "Run" menu. Set the Python directory and the names of the ODK file and word document. Zacc groff download#To run this program, either download transcribe_survey.py or clone this GitHub repository to your desktop. Zacc groff install#You can install these programs using pip install. Before running this program, install openpyxl and python-docx. This can be useful for family rosters or summaries of the quantities and prices of crops or assets. That is, if a repeat group does not contain an additional repeat group, the program can print a table with each question in the repeat group as a column and each repeat as a row. The program can print any innermost repeat group as a table. This problem can be avoided by choosing not to display constraints, relevance, and calculations. Note that the translation feature does not work for other languages, so mathematical expressions will be translated into English regardless the language specified. The program can generally print the questions from any language included in the ODK survey. Each repeat group starts with an overall heading before a subheading for each round of the repetition. The user can also specify a default number of repeats in the case that the repeat_count column is blank. If the ODK file specifies how many times a repeat group should repeat (the "repeat_count" column in ODK), then the program repeats the group that many times. The program prints repeat groups multiple times as is needed. The translations also account for whether an expression is a constraint, relevance, calculation, or note so that the syntax is correct for the case. transcribe_survey turns mathematical expressions like <= to "is less than or equal to" and replaces references to earlier fields with blanks and parentheticals instructing surveyors to fill in the answer to the previous question. The program translates ODK expressions into English sentences. Proper formatting for headings and instructions helps to match the way a human might design a survey. ![]() The formatting displays the question as it might be displayed if written by a human. The program includes all aspects of a question: the question itself (or the "label" column in ODK), the format of the answer (text, number, or multiple choice), and the hint, relevance, or constraint if relevant. Transcribe_survey has a few nice features: Each row in the survey becomes a question, and the survey lists out the questions in order with headings for each group. In short, transcribe_survey takes your ODK file and translates it into an English-language word document. Zach edited the program in the spring of 2018 while a Senior Research Analyst for Dean at the Buffett Institute at Northwestern. Zach Groff wrote it in the spring of 2016 while a Research Analyst on the Dean Team at IPA. Transcribe_survey is a Python program that takes ODK programming and produces a paper survey. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |