generate: generates a set of files and directories to support both the...

Description Usage Arguments Value Examples

View source: R/generate.R

Description

generates a set of files and directories to support both the data mining and data science workflow.

Usage

1
2
3
4
5
6
generate(
  project_name,
  db_connection_type = "",
  exclude = as.character(),
  path = tempdir()
)

Arguments

project_name

The name of the project to be generated.

db_connection_type

A optional string indicating if a "JDBC" or "ODBC" connection will be used in the project. Options include: "jdbc" or "odbc"

exclude

A character vector of components to exclude from generation. Options include: "0_test.R", "1_integrate.R", "2_enrich.R", "3_model.R", "4_evaluate.R", "5_present.Rmd", "common.R", "mediator.R", "utilities.R", "explore.R", "api.R", "lint.R", ".gitignore", "readme.md", "config.yml"

path

The path where the project should be created. Default is a temporary directory: tempdir().

Value

No return value.

Examples

1
2
3
4
## Not run: 
generate("majestic_12")

## End(Not run)

archetyper documentation built on March 17, 2021, 5:06 p.m.