get.opendate.github: get open date from GitHub

View source: R/scraping-github.R

get.opendate.githubR Documentation

get open date from GitHub

Description

Collect open date of issues from GitHub with query

Usage

get.opendate.github(
  repo,
  query = "state=all&labels=bug",
  user = NULL,
  password = "",
  authtype = "token",
  url = "https://api.github.com/repos",
  startPage = 1L,
  perPage = 100L,
  date.min = NULL,
  date.max = Sys.time(),
  by = "1 month"
)

Arguments

repo

A character string indicating a repository such as "hadley/devtools"

query

A character string for a query

user

A string for user

password

A string for password or personal access token

authtype

A string for authentication. The default is token (personal access toke).

url

An URL for GitHub

startPage

An integer to identify the start page

perPage

An integer to the number of issues for a page

date.min

A character string for date, indicating the starting date.

date.max

A character string for date, indicating the ending date.

by

A character string. A increment of date. "1 month", "1 day", etc. are available.


okamumu/Rsrat documentation built on Feb. 10, 2024, 11:07 p.m.