gh_users_json: Paths to GitHub data as JSON and XML

Description Usage Value See Also Examples

View source: R/gh_users_repos.R

Description

Paths to GitHub data as JSON and XML

Usage

1
2
3
4
5
6
7

Value

Local path to JSON or XML file containing GitHub data

See Also

Other GitHub data and functions: gh_repos, gh_users

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
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 July 16, 2019, 1:02 a.m.