Description Usage Arguments Details Value See Also Examples
View source: R/cbk.download.casteml.1.R
Download analysis records as a CASTEML file via HTTP. This function returns path to the file. The file is stored in a temporary directory unless specified. Note with the same arguments, this function downloads only once per an R session.
1 2 |
stone |
Unique identification number of a stone in Medusa. |
file |
File path to save downloaded CASTEML file. Default is a temporary file in a temporary directory. |
force |
Force download CASTEML file. |
directAuth |
Parameter for HTTP basic authentication. |
Recursive |
Download a whole family of a stone (equivalent to –family in casteml download) |
recursive |
Download descendants of a stone (equivalent to –descendant in casteml download). |
This function was created on 2017-04-11 to download CASTEML file by its own from Medusa and the first argument can only accept single ‘stone’ unlike cbk.download.casteml can accept an array consists of stones.
Path to CASTEML file that was downloaded.
casteml download
,
https://github.com/misasa/casteml, and
cbk.convert.casteml
cbk.download.casteml
1 2 3 4 5 6 7 8 | stone <- c("20080616170000.hk","20080616170056.hk","20080616170054.hk")
pmlfiles <- lapply(stone, cbk.download.casteml.1)
pmlfile <- cbk.download.casteml.1("20081202172326.hkitagawa")
directAuth <- list(uri="https://dream.misasa.okayama-u.ac.jp/demo/",user='admin',password='admin')
pmlfile <- cbk.download.casteml.1("20110416134901-075-241",directAuth=directAuth)
pmlfile <- cbk.download.casteml.1("20110416134901-075-241",directAuth=directAuth,recursive=TRUE)
pmlfile <- cbk.download.casteml.1("20110416134901-075-241",directAuth=directAuth,Recursive=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.