gh_user: Find GH username from repository and full name

View source: R/users.R

gh_userR Documentation

Find GH username from repository and full name

Description

Look up users of a repository and match to a name. Try with and without initials.

Usage

gh_user(name, owner = "ropensci", pkg, .max_rate = NULL)

Arguments

name

Character. Full or partial name of the person for whom you want to fetch the GitHub username.

owner

Character. Owner of the repository.

pkg

Character. Repository name (package name).

.max_rate

Numeric. Passed through to gh:gh().

Value

Data frame with names attempted and usernames found

Examples


gh_user(name = "Steffi E. LaZerte", owner = "ropensci", pkg = "weathercan")
gh_user(name = "Steffi", owner = "ropensci", pkg = "weathercan")

ropensci-org/promoutils documentation built on Nov. 29, 2024, 7:17 p.m.