Forum: support


RE: Creating Question Bank [ Reply ] By: Political Economist on 2020-09-28 23:09 | [forum:48208] |
That looks great. I got that example to work and I should be able to get what I need from it thank you! |
RE: Creating Question Bank [ Reply ] By: Achim Zeileis on 2020-09-28 15:01 | [forum:48195]![]() |
We've helped different people going through this process a couple of times. However, as the format for the XLS or CSV or Db or ... is somewhat different each time, we haven't got a standardized tutorial or even function for it. Typically, I write a Rmd template for the files I want to create and then fill it with the necessary information. Possibly rmarkdown::rmarkdown_convert() is leveraged for converting the text (e.g., in HTML) into Markdown. But I guess this is not necessary in your case. Attached is a function that goes through a CSV file in a particular format and generates .Rmd files from it. If you want a demo CSV file in this format you can find it in this discussion (from which the code is also taken): https://R-Forge.R-project.org/forum/forum.php?thread_id=33887&forum_id=4377&group_id=1337 Hope that helps! |
Creating Question Bank [ Reply ] By: Political Economist on 2020-09-28 13:35 | [forum:48194] |
Are there any tutorials about creating the bank of questin files. I have an XLS file that contains about 1000 multiple choice questions in a highly structured format. The images for each question are named systematically. I am comfortable with manipulating text with R. But, before I roll my own functions, I wondered if there were any want throughs on converting such a set of questions into the correct format for exams to use. Thanks, Political Economist |