from_repo {getable} | R Documentation |
This function builds a URL in the form:
https://raw.githubusercontent.com/<username>/<repo>/<branch>/<path>
.
from_repo(username, repo, path, branch = "master")
username |
A string. The owner of the repo. |
repo |
A string. The name of the repo. |
path |
A string. The path to the file. |
branch |
A string. The branch the file is on. |
An URL to the path.
from_repo(
username = "liao961120",
repo = "getable",
path = "docs/demo/data/df.json",
branch = "master")
renderTable(
from_repo(
username = "liao961120",
repo = "getable",
path = "docs/demo/data/df.json",
branch = "master")
)