Get files in a repo

gh_repo_search(
  code = "RocheData",
  organisation = "PHC",
  full_name = NULL,
  custom = "in:file",
  ...
)

Arguments

code

Output from gh_commits_get()

organisation

Shortcut to add a filter onto a specific organisation

full_name

Shortcut to add a filter on to a specific repo

custom

Add your own query

...

Pass down options to gh::gh()

Details

New Columns

full_name

org/repo

name

repo name

file_name

File name

path

Path within repo to file including filename

url

URL to the file and commit on github

score

i didn't actually look this up... maybe matching score

lang

Language guessed via GithubMetrics:::gh_filetype()