Skip to contents

Build

Build a syllabus

load_semester_db()
Load schedule for semester from database
generate_assignments()
Generate assignments from database
build_pdf_files()
Build PDF versions of assignments.

Maintenance

Maintain a syllabus.

update_latex_styles()
Update LaTeX style files
update_pdfs()
Update all files that are out of date
update_pdf_digests()
Generates and stores digests for all source and output files.
prune_pdf_digests()
Delete stored digests for specified source files
clean_assignment_files()
Clean up assignment riles.

Syllabus-building subtasks

Subtasks for building a syllabus

build_assignments()
Build reading, homework, and lab assignments
build_hw_assignment()
Build a homework assignment
build_lab_assignment()
Build a lab assignment
build_reading_assignment()
Build a reading assignment

Text formatting

Text formatting functions

Manage schedules

Managing semester schedule

check_schedule()
Check a schedule data frame for consistency
schedule_add_homework()
Add homework assignments to a schedule
schedule_add_reading()
Add reading assignments to a schedule
schedule_widen()
Pivot a schedule data frame into wide format.

Cross-referencing

Cross-referencing functions for expansion codes

lookup_class()
Look Up Classes
lookup_future_class() lookup_past_class()
Look Up Past and Future Classes
lookup_future_reading() lookup_past_reading()
Look Up Past and Future Reading Assignments

Data manipulation

Access and modify semester data

col_replace()
Search and replace all columns in a data frame.
col_search()
Search for a pattern in any column of a data frame
col_search_sum()
Count the number of times each column in a data frame matches a pattern.
global_col_search()
Search data frames for a pattern in any column
global_col_search_sum()
Count pattern-matches in each column of data frames
global_replace()
Search and replace all columns in a list of data frames.
global_search()
Search data frames for a pattern in any column.
default_semestr_metadata()
Create default metadata
get_pdf_url()
Get URLs corresponding to generated PDF files.
get_semestr_metadata()
Get the metadata for the currently loaded semester
get_semestr_tz()
Get the time zone for where the course will be taught.
type2col() type2idx() type2prefix() type2base() idx2col() idx2type() col2idx() col2type() base2type()
Metadata Name Conversion Functions
pull_env()
Expose contents of an environment in the current environment
item_mod()
Determine the modification type of calendar entry from its calendar id.
item_type()
Determine the type of calendar entry from its calendar id.
add_key_prefix()
Add prefixes to keys.

File manipulation

Manage files

copy_slides()
Install Powerpoint slides for a class session
get_pdf_url()
Get URLs corresponding to generated PDF files.
grab_header()
Extract metadata from an RMD file.
pdf_filename()
Extract the local PDF filename corresponding to an URL.
pdf_digest_if_exists()
Calculate digest for pdf file
update_pdf_dir()
Rebuild changed files in a subdirectory of "content"
update_pdf_file_digests()
Update digests for PDF files

Helper functions

Miscellaneous helper functions

build_pdf_from_rmd()
Build a PDF from an RMarkdown source file
build_pdf_output_format()
Build an RMarkdown output format for PDF files.
init_schedule()
Initialize semester schedule
make_rmd_output_format()
Make an RMD output format
prepare_schedule()
Prepare schedule from database
is_mt_or_na()
Extends is.na to report TRUE if the object has length zero.
schedule_strip_finals()
Strip the final exams from a schedule
strip_key_prefix()
Strip prefixes off keys.