# install.packages("remotes") # Run if required
remotes::install_github("emlab-ucsb/startR") # Install from GitHub repo
create_*
familyThis family of functions is here to create
a bunch of things that we always need, like standard directories (folders), repository structure, and data paths. The family contains the following:
create_emlab_dirs
Given a project code name, it goes into the emLab Google Filestream and creates a folder for the project, along with subfolders for raw, processed, and output datacreate_local_dirs
Creates local direcotires withing your RStudio project and associated git repo. It creates folders for scripts, results (tables and figures).create_readme
Once all files and folers are in place, it inspects the repository strucutre to generate a map (se bottom of README)create_setup_script
Creates a standardized setup script, which will be automatically run every time you open the RStudio project (or restart R session). It contains default filepaths, which will be created as environmental variables in your environment.create_all
wrapper around all of the above.create_metadata
Generates a metadata file that matches the emLab SOP and asks you a series of questions to fill in (currently only works for .csv and .xlsx)Please note that the startR project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.