GetQuestion: obtain all versions of a question from coursera xml

Description Usage Arguments Details Value Examples

Description

obtain all versions of a question from coursera xml

Usage

1
GetQuestion(doc, question_no)

Arguments

doc

parsed xml tree, obtained by XML::xmlTreeParse

question_no

int number of question

Details

obtain all versions of a question from coursera xml

Value

xml tree with question

Examples

1
2
3
test_01_path <- system.file("extdata", "week_01_test_01_ibcorr.xml", package = "edxr")
doc <- XML::xmlTreeParse(test_01_path)
q_17 <- GetQuestion(doc, 17)

bdemeshev/edxr documentation built on May 12, 2019, 3:40 a.m.