Skip to contents

Project setup

Initialize a new project with a standard folder structure.

create_project()
Create a New Project

Creating scripts

Generate R script from templates.

create_file()
Create an R file from a template
create_from_tot()
Create all R scripts listed in the table of tables (TOT)

Saving outputs

Save figures, tables, and datasets to standardized locations.

save_data() save_table() save_figure()
Save outputs in the project

Table of Tables

Import and load the Table of Tables (TOT) metadata registry.

import_tot()
Import the Table of Tables (TOT)
load_tot()
Load the Table of Tables (TOT)
get_info()
Get information from the Table of Tables (TOT)

Running scripts

Source all scripts of a given type in batch.

run_all_files() run_all_figures() run_all_tables()
Run R Scripts in a Project Subdirectory

Reporting

Generate, render, and archive Quarto reports.

create_report()
Create a Quarto report from the TOT
create_chunk()
Create a quarto code chunk from the TOT
run_report()
Render a quarto report
archive_report()
Archive a rendered report

Options

Package-level global options.

lbstproj-options
Package-wide options for lbstproj