Récupère la liste des projets d'un groupe owner sur Github

get_projgroup_github(token_env, group, nivdeep = c("base"))

Arguments

token_env

string. nom de la variable d'environnement contenant le token github

group

string identifiant du owner sur github

nivdeep

string vector. c("base", "ci","gest"). niveau d'information de l'output. ajoute des requetes Api. Defaut c("base") base => colonnes (id,name,path,path_with_namespace,web_url,pathgroup...) ci => ajoute colonnes (cicd, sched) gest => ajoute colonnes (storage_size, pushed_at, contributors, topics)

Value

data.frame

Examples

# Working only if Env Var "GITBOARD_GITHUB_TOKEN" is defined
get_projgroup_github("GITBOARD_GITHUB_TOKEN","spyrales")
#>            id                     name                     path
#> 1   248198165             copyre-alpha             copyre-alpha
#> 2   258364663 design.numerique.gouv.fr design.numerique.gouv.fr
#> 3   258241802                 gouvdown                 gouvdown
#> 4   258482434           gouvdown.fonts           gouvdown.fonts
#> 5  1026105842                 gristapi                 gristapi
#> 6   250908273               la-piscine               la-piscine
#> 7   248516299             organisation             organisation
#> 8   254413566             presentation             presentation
#> 9   340177942          propre.brochure          propre.brochure
#> 10  545537560              quarto-gouv              quarto-gouv
#> 11  511992793                shinygouv                shinygouv
#> 12  248564316                      web                      web
#>                  path_with_namespace
#> 1              spyrales/copyre-alpha
#> 2  spyrales/design.numerique.gouv.fr
#> 3                  spyrales/gouvdown
#> 4            spyrales/gouvdown.fonts
#> 5                  spyrales/gristapi
#> 6                spyrales/la-piscine
#> 7              spyrales/organisation
#> 8              spyrales/presentation
#> 9           spyrales/propre.brochure
#> 10              spyrales/quarto-gouv
#> 11                spyrales/shinygouv
#> 12                      spyrales/web
#>                                                 web_url pathgroup
#> 1              https://github.com/spyrales/copyre-alpha  spyrales
#> 2  https://github.com/spyrales/design.numerique.gouv.fr  spyrales
#> 3                  https://github.com/spyrales/gouvdown  spyrales
#> 4            https://github.com/spyrales/gouvdown.fonts  spyrales
#> 5                  https://github.com/spyrales/gristapi  spyrales
#> 6                https://github.com/spyrales/la-piscine  spyrales
#> 7              https://github.com/spyrales/organisation  spyrales
#> 8              https://github.com/spyrales/presentation  spyrales
#> 9           https://github.com/spyrales/propre.brochure  spyrales
#> 10              https://github.com/spyrales/quarto-gouv  spyrales
#> 11                https://github.com/spyrales/shinygouv  spyrales
#> 12                      https://github.com/spyrales/web  spyrales
#>                                                                        description
#> 1  Préparation d'une communauté python & R dans l'Etat (en période de Coronavirus)
#> 2  Préparation d'une communauté python & R dans l'Etat (en période de Coronavirus)
#> 3  Préparation d'une communauté python & R dans l'Etat (en période de Coronavirus)
#> 4  Préparation d'une communauté python & R dans l'Etat (en période de Coronavirus)
#> 5  Préparation d'une communauté python & R dans l'Etat (en période de Coronavirus)
#> 6  Préparation d'une communauté python & R dans l'Etat (en période de Coronavirus)
#> 7  Préparation d'une communauté python & R dans l'Etat (en période de Coronavirus)
#> 8  Préparation d'une communauté python & R dans l'Etat (en période de Coronavirus)
#> 9  Préparation d'une communauté python & R dans l'Etat (en période de Coronavirus)
#> 10 Préparation d'une communauté python & R dans l'Etat (en période de Coronavirus)
#> 11 Préparation d'une communauté python & R dans l'Etat (en période de Coronavirus)
#> 12 Préparation d'une communauté python & R dans l'Etat (en période de Coronavirus)
#>    default_branch visibility          updated_at
#> 1          master     public 2023-01-28 15:21:50
#> 2          master     public 2020-04-24 00:31:38
#> 3          master     public 2025-09-15 12:38:24
#> 4          master     public 2023-04-10 19:58:04
#> 5            main     public 2025-09-22 14:33:36
#> 6          master     public 2020-10-30 14:53:56
#> 7          master     public 2021-07-06 04:34:54
#> 8          master     public 2021-07-06 04:52:48
#> 9          master     public 2021-06-09 16:26:11
#> 10           main     public 2025-04-11 11:06:23
#> 11           main     public 2025-08-19 05:36:00
#> 12         master     public 2023-07-04 15:38:47