Skip to contents

Function reference

Functions for creating gerp projects.

grp_create()
Create a new good enough R project

Folder functions

Functions for creating gerp folders & files.

grp_setup()
Good enough R setup files
grp_code()
Good enough code files
grp_data()
Good enough data folders
grp_dev()
Good enough R development folder
grp_report()
Good enough R report folder

Path functions

Functions for folder & file paths.

grp_path()
Get file path(s)
grp_root()
Get the root folder of your project
grp_fpath()
Get the path of the current file
grp_lkp_path()
Look up a file or folder in your project

Code functions

Functions for writing code.

grp_headr()
Insert a 'good enough' R script header
grp_sect()
Insert an R script section header

Naming functions

Functions for naming things.

grp_name()
Good enough R object name
grp_fname()
Good enough file name
grp_batch_rename()
Rename all files in a folder

Data

Example datasets.

wu_df wu_dt wu_tbl
Wu-Tang Clan members
date_formats date_patterns
Example date formats and regular expressions