get_repo | R Documentation |
This function allows to download a whole repository from GitHub.com. It is intended as a convenience function for students working with Introduction to Econometrics with R, an interactive online-companion to the textbook Introduction to Econometrics (Stock & Watson 2015), but works with any public GitHub repository. The companion can be found here.
get_repo(repo = NULL, out = ".")
repo |
A |
out |
A |
The function downloads the zipped contents (master.zip
) of
the master branch from the GitHub repository supplied to the argument
repo
to the directory specified in out
and unzips the archive
afterwards in <out>/Repository/
.
Stock, J. H. and Watson, M. W. (2015). Introduction to Econometrics, Third Update, Global Edition. Pearson Education Limited.
## Not run:
# download the bookdown projekt repository
# "mca91/EconometricsWithR"
get_repo(repo = "mca91/EconometricsWithR")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.