Skip to contents

Creates directory structure and template files for a new electoral project.

Usage

setup_electoral_project(project_dir)

Arguments

project_dir

Project directory (will be created if it doesn't exist)

Value

Invisible(NULL). Function is executed for its side effects.

Details

This function:

  • Creates input/, output/ and scripts/ folders

  • Generates an Excel file with all sheets required by the pipeline

  • Creates a main example script in scripts/main.R

See also

Other utility-functions: create_input_template()

Other project-setup: create_input_template()

Examples

if (FALSE) { # \dontrun{
setup_electoral_project("my_simulation_2023")
} # }