Skip to contents

Submit a curated dataset for review by uploading it to GitHub and creating a pull request. The dataset should be prepared using tt_clean(), tt_save_dataset(), tt_intro(), and tt_meta().

Usage

tt_submit(
  path = "tt_submission",
  auth = gh::gh_token(),
  open = rlang::is_interactive()
)

Arguments

path

The relative path to the directory to hold your submission files (tt_submission by default). If this directory does not exist, it will be created.

auth

A GitHub token. See gh::gh_token() for more details.

open

Whether to open the pull request in a browser. Defaults to TRUE in an interactive session.

Value

The URL of the pull request, invisibly.

Examples

if (FALSE) { # interactive()
# First set up a dataset in the "tt_submission" folder.
tt_submit()
}