create_data_project: Create a project from a template

Description Usage Arguments Examples

View source: R/create_data_project.R

Description

Creates a project from a template. By default, creates a project from this template: https://github.com/dcl-docs/project

Usage

1
2
3
4
5
6
create_data_project(
  path,
  project = TRUE,
  template = "https://github.com/dcl-docs/project/archive/master.zip",
  open = interactive()
)

Arguments

path

A path giving the location for the new project. If it does not already exist, it is created.

project

If TRUE, creates an RStudio project.

template

Download URL of template repository. Defaults to the dcl-docs project template.

open

If TRUE and project is TRUE, activates the project. If you're using RStudio, this will result in the project opening in a new session.

Examples

1
## Not run: create_data_project("path/to/project")

stanford-datalab/dcl documentation built on March 24, 2021, 8:44 a.m.