Function for arrange journal club schedule

jc_tombola(
  data,
  members,
  group,
  gr_lvl,
  status,
  st_lvl,
  frq,
  date,
  seed = NULL
)

Arguments

data

Data frame withe members and their information.

members

Columns with the members names.

group

Column for arrange the group.

gr_lvl

Levels in the groups for the arrange. See details.

status

Column with the status of the members.

st_lvl

Level to confirm the assistance in the JC. See details.

frq

Number of the day for each session.

date

Date when start the first session of JC.

seed

Number for replicate the results (default = date).

Value

data frame with the schedule for the JC

Details

The function could consider n levels for gr_lvl. In the case of two level the third level will be both. The suggested levels for st_lvl are: active or spectator. Only the active members will enter in the schedule.