Queries issues from a specified repository using the GitHub REST API and returns a tibble with selected fields. Includes issues that were open at the specified date or created after it.
Arguments
- owner
character GitHub user or organization name (e.g., "NewGraphEnvironment").
- repo
character Repository name (e.g., "ngr").
- date_since
character (ISO 8601 datetime or date). Issues must have been open on or created after this date.
- token
character GitHub personal access token. Defaults to
gh::gh_token(). Required to access private repositories.- fields_return
character vector of fields to return. Supports nested fields using "$" notation (e.g., "milestone$title").
Examples
ngr_git_issue(
owner = "NewGraphEnvironment",
repo = "ngr",
date_since = "2024-01-01",
token = NULL
)
#> # A tibble: 30 × 7
#> url title body comments_url created_at closed_at milestone.title
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 https://api.gi… Add … "## … https://api… 2026-01-1… 2026-01-… Type-preservin…
#> 2 https://api.gi… Feat… NA https://api… 2026-01-1… 2026-01-… NA
#> 3 https://api.gi… Add … "Add… https://api… 2026-01-1… 2026-01-… Type-preservin…
#> 4 https://api.gi… Add … "Add… https://api… 2026-01-1… 2026-01-… Type-preservin…
#> 5 https://api.gi… 24 s… NA https://api… 2026-01-0… 2026-01-… NA
#> 6 https://api.gi… Add … "Add… https://api… 2026-01-0… NA NA
#> 7 https://api.gi… Allo… "Mod… https://api… 2026-01-0… NA NA
#> 8 https://api.gi… Impr… "## … https://api… 2026-01-0… 2026-01-… NA
#> 9 https://api.gi… Ngr … " N… https://api… 2026-01-0… 2026-01-… NA
#> 10 https://api.gi… Add … "## … https://api… 2026-01-0… NA NA
#> # ℹ 20 more rows