Skip to contents

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

MS Word <–> Quarto

Resolving some current limitations of Quarto

post_render_docx_img_replacer()
Post-Render All docx-files Found in The Output Folder To Replace Images with Mscharts
replace_docx_imgs_with_mscharts()
Replace Images in A Quarto-Generated docx-file with Mschart docx-files

Column recoding tools

Note: will be moved to 3rd party package in the future

col_to_binaries()
Mutate a (factor, character, integer, etc) column into multiple columns,
combn_upto()
Create All Possible Combinations of Vector Elements with Minimum A and Maximum B.
recode_checkbox_sets()
Recodes Multiple Sets of Factor Variables of Checkbox Items
omitted_recoder_df()
Recode Missing By Type of Missingness

Convenience tools for working with datasets

Perhaps better suited in 3rd party packages, so might be moved later

handpick()
Return character vector of manually picked data columns.

Label tools

Note: will be moved to 3rd party package in the future

attach_qualtrics_labels()
Re-attach label information from Qualtrics not obtained from regular data downloads
remove_special_chars_in_labels()
Remove Special Characters (<,>) in Variable Labels
rename_by_labels()
Rename Dataset Columns by Labels.
replace_stata_labels()
Replace Stata Labels
sanitize_labels()
Sanitize labels originating from e.g. Qualtrics for use in saros
swap_label_colnames()
Swap Dataset Columns and Labels