From e8d95b6c1fb21c8b98c2ccc72906f15274d6e4ee Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Wed, 11 Sep 2024 15:32:40 +0200 Subject: [PATCH] docs: :memo: add code chunk on steps to take for starting project --- vignettes/admin.qmd | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/vignettes/admin.qmd b/vignettes/admin.qmd index fbb8c49..54b6cd8 100644 --- a/vignettes/admin.qmd +++ b/vignettes/admin.qmd @@ -36,6 +36,17 @@ Still in development. project abbreviation to create the project, add it to the Steno GitHub, set up permissions, and add the user to the repo. +```{r} +#| eval: false +# Example of how to run the functions +# Find what the correct id is for the project +ukbAid:::admin_get_project_ids() +# Confirm the username to use +ukbAid:::gh_get_users() +# Then create the project! +ukbAid:::admin_start_approved_project("USER", "PROJECT_ID") +``` + ## General admin ### On GitHub or own computer