View source: R/getRawLinksFromGithubDir.R
getRawLinksFromGithubDir | R Documentation |
/codegetRawLinksFromGithubDir get the list of links leading to raw files contained in a GitHub repository (recursively).
getRawLinksFromGithubDir(repo, dir, ext = ".*")
repo |
Character string; user and repo names. |
dir |
Character string; directory name. |
ext |
Character string; the extension of the files. Default: ".*" (every file in the directory). |
A character vector with the raw links of all the files.
my_repo <- "bovee/fattyacids" my_dir <- "reference_data" my_ext <- "tsv" raw_links <- getRawLinksFromGithubDir( repo = my_repo, dir = my_dir, ext = my_ext )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.