Description Usage Arguments Value Examples
MNI Download URL
1 2 3 4 |
group |
Group of data, from |
A character vector
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | library(utils)
mni_url()
mni_url("pediatric")
df = mni_datasets()
df$url = sapply(df$group, mni_url)
df$url = file.path(df$url, df$file)
destfile = tempfile(fileext = ".zip")
## Not run:
dl = download.file(url = df$url[2], destfile = destfile)
## End(Not run)
df = mni_datasets("minc1")
df$url = sapply(df$group, mni_url)
df$url = file.path(df$url, df$file)
destfile = tempfile(fileext = ".zip")
## Not run:
dl = download.file(url = df$url[2], destfile = destfile)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.