geogit_repos: Retrieve information about a Github user's repositories.

Description Usage Arguments Details Value Examples

Description

This function retrieves information about a user's public repositories on GitHub.

Usage

1
geogit_repos(github_username, token, page = 1, sort = "created")

Arguments

github_username

The Github user's username on the platform.

token

The geogit_token that contains access token information.

page

The page number of the repository results returned by the API

sort

The parameter to sort the repositories by. You can sort repositories by date created created, date updated updated, or date pushed pushed.

Details

All pieces of information provided by the Github API about the repositories are returned. Only the first 100 repositories from the API response will be returned. Use the page parameter to access different pages of the repositories API response. Each page can have a maximum of 100 results. Iterate through multiple pages to retrieve all repositories.

Value

A tibble that contains the given user's repository information.

Examples

1
2
token <- geogit_token()
geogit_repos("abelemlih", token)

abelemlih/geogit documentation built on May 25, 2019, 2:24 p.m.