process_assignments: Process assignments create with edu and completed by students

Description Usage Arguments Value Author(s) Examples

View source: R/process_assingments.R

Description

Function processes number of completed assignments and outputs a single R-script with the question and all students answers AND correct answeers

Usage

1
2
3
  process_assignments(path_assignments = "~/btsync/workspace/ropengov/edutest/basics",
  package = "edudata", outfile_name = "basics_summary",
  outfile_path = "~/btsync/workspace/ropengov/edutest/")

Arguments

path_assignments

Absolute path to the folder containing the completed assignments as R.scripts ending either with .R or .r

package

Name of the installed package that was used to create the assingment and that contains the correct answers

outfile_name

Name of the the output script

outfile_path

Absolute path to the folder where scipt should be written

Value

A R-script

Author(s)

Markus Kainu <[email protected]>

Examples

1
2
3
4
5
6
7
 ## Not run: 
 process_assignments(path_assignments = "~/btsync/workspace/ropengov/edutest/basics",
                   package = "edudata",
                   outfile_name = "basics_summary",
                   outfile_path = "~/btsync/workspace/ropengov/edutest/")
 
## End(Not run)

rOpenGov/edu documentation built on July 17, 2018, 1:15 a.m.