mni_url | R Documentation |
MNI Download URL
mni_url(
group = c("icbm152", "PD25", "colin27", "mni305", "pediatric", "infant")
)
mni_urls()
group |
Group of data, from |
A character vector
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.