Description Usage Arguments Details Examples
Create a lightweight datastorr interface (rather than using the full package approach). This approach is designed for the "files that don't fit in git" use-case.
1 2 3 4 5 |
repo |
Either a github repo in the form
|
path |
The path to store the data at. Using |
metadata |
The name of the metadata file within the repo (if
|
branch |
The branch in the repo to use. Default is
|
private |
A logical indicating if the repository is private and therefor if authentication will be needed to access it. |
refetch |
Refetch the metadata file even if it has already been downloaded previously. |
version |
Which version to download (if |
extended |
Don't fetch the data, but instead return an object that can query data, versions, etc. |
... |
Arguments passed through to |
local |
Return information on local versions? |
Note that the package approach is likely to scale better; in particular it allows for the reading function to be arbitrarily complicated, allows for package installation and loading, etc. With this simple interface you will need to document your dependencies carefully. But it does remove the requirement for making a package and will likely work pretty well as part of an analysis pipeline where your dependencies are well documented anyway.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.