Description Usage Arguments Details Value See Also Examples
View source: R/cbk.download.casteml.R
Download analysis records as a CASTEML file. 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 3  | 
stone | 
 Unique identification number of stones in Medusa.  | 
file | 
 File path to save downloaded CASTEML file. Default is a temporary file in a temporary directory.  | 
force | 
 Force download CASTEML file.  | 
directDownload | 
 Download CASTEML file via HTTP otherwise via ‘casteml download’.  | 
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).  | 
An user should specify Recursive and recursive option not a part of argument ‘stone’ but explicitly.
Path to CASTEML file that was downloaded.
casteml download,
https://github.com/misasa/casteml, and
cbk.convert.casteml
1 2 3 4 5 6 7 8  | stone <- c("20080616170000.hk","20080616170056.hk","20080616170054.hk")
pmlfiles <- lapply(stone, cbk.download.casteml)
pmlfile <- cbk.download.casteml("20081202172326.hkitagawa")
directAuth <- list(uri="dream.misasa.okayama-u.ac.jp/demo/",user='admin',password='admin')
pmlfile <- cbk.download.casteml("20110416134901-075-241",directAuth=directAuth)
pmlfile <- cbk.download.casteml("20110416134901-075-241",directAuth=directAuth,recursive=TRUE)
pmlfile <- cbk.download.casteml("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.