Skip to contents

Useful helper functions that will be later moved to respective packages

refine_chapter_overview()
Processes A 'chapter_overview' Data Frame

Main use

The only functions you will probably use, in the order listed

draft_report()
Automatically Draft a Quarto Report

Auxiliary functions to obtain defaults

get_chunk_template_defaults()
Get Global Options for Chunk Templates
get_organize_by_opts()
Get Core Chapter Structure Column Names

Example data and metadata

You would need to create these two types of data frames.

ex_survey
ex_survey: Mockup dataset of a survey.
ex_survey_ch_overview
ex_survey_ch_overview: Mock overview of chapter structure

Read and write draft_report arguments as YAML for sharing across projects

read_default_draft_report_args()
Read Default Arguments for draft_report() from YAML-file
write_default_draft_report_args()
Write Default Arguments for draft_report() to YAML-file

Website management tools

Share reports to various recipients with password access and automatic sending of emails

setup_access_restrictions()
Setup files needed for basic password-based access restriction for website
create_email_credentials()
Create Data Frame Containing Email Drafts with User Credentials

Project startup tools - main wrapper functions

For project templates (might be dropped in favour of 3rd party packages focusing on this)

initialize_saros_project()
Initialize Folder Structure
download_zip_to_folder()
Wrapper to Download and Unzip a Github Repository to A Folder

Project startup tools - underlying functions

For project templates (might be dropped in favour of 3rd party packages focusing on this)

generate_yaml_from_directory()
Generate YAML File from Directory Structure
copy_folder_contents_to_dir()
Convenience Function to Copy Only the Contents of A Folder to Another Folder
create_directory_structure()
Create a Pre-defined Directory Hierarchy on Disk
create_r_files()
Create Folder with Placeholder R-files Based on Structure in CSV-file

Internal functions used by other packages

filename_sanitizer()
File/folder name sanitizer replacing space and punctuation with underscore
get_raw_labels()
Helper function to extract raw variable labels from the data
is_string()
Is x A String?