Skip to contents

Needed to operate on GraphQL.

Usage

get_project_id(gq, owner = "MarineSensitivities", project_num = 1)

Arguments

gq

GraphQL connection object from `get_gq()`

owner

Github user or organization name containing the Project

project_num

Project number

Value

Project ID

Examples

if (FALSE) {
  token <- Sys.getenv("GITHUB_TOKEN")
  gq <- get_gq(token)
  get_project_id(gq, owner = "MarineSensitivities", num = 1)
}