generate_seatingChart: Generate seating chart

View source: R/seatingChart.R

generate_seatingChartR Documentation

Generate seating chart

Description

Generate seating chart

Usage

generate_seatingChart(seatChartUrl, sheet_seatChart, student_names, sheet)

Arguments

seatChartUrl

A link to the seating chart google sheets

sheet_seatChart

The sheet name that has seating chart with non-seats marked X

student_names

A character

sheet

The name of assigned seat chart

Examples

seatingChartUrl <- "https://docs.google.com/spreadsheets/d/14jQT6tvbc7Xv_ID1eoOIqUA3q_4HujjMYthcelebdlw/edit#gid=0"
students <- {
  "https://docs.google.com/spreadsheets/d/1fs61_qTY4IYqtzWgg7VNbJ_igwJaVgRPYVjvodre5JI/edit#gid=1259661119" |>
    googlesheets4::read_sheet(
      sheet="完整資訊"
    )
}
rmdgrader::generate_seatingChart(
  seatChartUrl = seatingChartUrl,
  sheet_seatChart = "Sheet1",
  student_names = students$姓名,
  sheet = "new assigned-seating chart")

tpemartin/rmdgrader documentation built on Nov. 22, 2022, 6:39 p.m.