extract_points: Summarize Available Points in Lab by Section

Description Usage Arguments Value Examples

View source: R/extract_points.R

Description

Summarize Available Points in Lab by Section

Usage

1
extract_points(notebook = NULL, margins = TRUE)

Arguments

notebook

A character indicating the path or list of paths to MDS lab files (either.ipynb or .Rmd). If left blank, the function will recursively search for all labs in the working directory based on the file extension.

margins

A scalar logical which indicates whether to add a row for the total number of points. Defaults to TRUE.

Value

A dataframe indicating total optional and required number of points.

Examples

1
2
3
4
5
6
7
# R markdown
notebook <- system.file("extdata", "dummylab.Rmd", package = "labzenr")
extract_points(notebook)

# Python notebook
notebook <- system.file("extdata", "dummylab.ipynb", package = "labzenr")
extract_points(notebook)

UBC-MDS/labzenr documentation built on March 28, 2021, 1:28 p.m.