Learn R Programming

ghclass (version 0.1.0)

peer_score_review: Collect scores from review forms

Description

The peer_score_review() function collects score information from the YAML of a review form within reviewers' review repositories. It outputs a new .csv file, with rows specifying individual question scores for each student.

Usage

peer_score_review(
  org,
  roster,
  form_review,
  prefix = "",
  suffix = "",
  write_csv = TRUE
)

Arguments

org

Character. Name of the GitHub organization.

roster

Character. Data frame or file path of roster file with author-reviewer assignments. Must contain a column user with GitHub user names of authors, a column user_random with randomized tokens for user names, and one or more rev* columns that specify review assignments as values of the vector user_random.

form_review

Character. File name of reviewer feedback form (must be .Rmd document).

prefix

Character. Common repository name prefix.

suffix

Character. Common repository name suffix.

write_csv

Logical. Whether the roster data frame should be saved to a .csv file in the current working directory, defaults to TRUE.

See Also

Other peer review functions: peer_assign(), peer_file_add_aut(), peer_file_add_rev(), peer_form_create_rating(), peer_form_create_review(), peer_init(), peer_return(), peer_roster_create(), peer_score_rating()

Examples

Run this code
# NOT RUN {
peer_score_review(
org = "ghclass-test",
roster = "hw2_roster_seed12345.csv",
form_review = "hw2_review.Rmd",
prefix = prefix)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab