gh_repo_wrapper {metricminer}R Documentation

Wrapper function for gh repository calls

Description

This is a function that wraps up gh calls for us

Usage

gh_repo_wrapper(api_call, owner, repo, token = NULL, count = Inf)

Arguments

api_call

an API call and endpoint. That has 'owner' and 'user'.

owner

The repository name. So for 'https://github.com/fhdsl/metricminer', it would be 'fhdsl'

repo

The repository name. So for 'https://github.com/fhdsl/metricminer', it would be 'metricminer'

token

You can provide the Personal Access Token key directly or this function will attempt to grab a PAT that was stored using the 'authorize("github")' function

count

How many items would you like to receive? Put "all" to retrieve all records.

Value

Metrics for a repository on GitHub


[Package metricminer version 0.5.1 Index]