get_exercises: Extracts exercises from a DataCamp chapter

Description Usage Arguments Examples

View source: R/extract_chapters.R

Description

Extracts exercises from a DataCamp chapter

Usage

1
get_exercises(chapter_file)

Arguments

chapter_file

Examples

1
2
3
4
chapter_file_path <- system.file("extdata/", package="decampr")
chapter_list <- get_chapters(chapter_file_path)
exercise_list <- get_exercises(chapter_list[[1]])
exercise_list[[1]]

laderast/decampr documentation built on Feb. 25, 2020, 7:12 a.m.