gh_users_json: Paths to GitHub data as JSON and XML

View source: R/gh_users_repos.R

gh_users_jsonR Documentation

Paths to GitHub data as JSON and XML

Description

Paths to GitHub data as JSON and XML

Usage

gh_users_json()

gh_repos_json()

gh_users_xml()

gh_repos_xml()

Value

Local path to JSON or XML file containing GitHub data

See Also

Other GitHub data and functions: gh_repos, gh_users

Examples

gh_users_json()
if (require("jsonlite")) {
  ghuj <- fromJSON(gh_users_json(), simplifyDataFrame = FALSE)
  identical(gh_users, ghuj)
}
gh_repos_json()
if (require("jsonlite")) {
  ghrj <- fromJSON(gh_repos_json(), simplifyDataFrame = FALSE)
  identical(gh_repos, ghrj)
}
gh_users_xml()
if (require("xml2")) {
  xml <- read_xml(gh_users_xml())
  xml
}
gh_repos_xml()
if (require("xml2")) {
  xml <- read_xml(gh_repos_xml())
  xml
}

repurrrsive documentation built on Dec. 28, 2022, 2:34 a.m.