get_file | R Documentation |
Get contents of a file
get_file(owner, repo, branch, path)
owner |
owner of the repo, string |
repo |
repo name, string |
branch |
master by default |
path |
path to the file |
https://platform.github.community/t/query-repo-contents-with-graphql-api/1896
nothing interesting yet
library("magrittr") pof <- get_file(owner = "ropensci", repo = "roregistry", branch = "master", path = "registry.json") %>% jsonlite::toJSON()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.