cbk.read.pmlame: Return a pmlame that is stored in Medusa

Description Usage Arguments Value See Also Examples

View source: R/cbk.read.pmlame.R

Description

Return a pmlame that is stored in Medusa. There can be two approach to get the pmlame. (1) The first approach is to downloads a CASTEML file using external program 'gem package – casteml'. (2) The other approach is to download a json data directoly from Medusa.

The essential functions involved in this function as of May 29 (2018) are shown below.

cbk.read.pmlame <returns pmlame> –> cbk.read.casteml <returns pmlame> –> cbk.download.casteml <returns pmlfile> –> cbk.download.pmlame <returns pmlame> –> medusaRClient.read.pmlame <returns pmlame>

Usage

1
2
cbk.read.pmlame(pmlfile_or_stone, opts = NULL, casteml = FALSE,
  verbose = TRUE, ...)

Arguments

pmlfile_or_stone

A CASTEML file that exists locally or stone-ID.

opts

List of further options for plot.

casteml

Download a CASTEML file using external program 'gem package – casteml' (default: FALSE).

verbose

Output debug info (default: TRUE).

Value

A dataframe with unit organized.

See Also

cbk.convert.casteml, cbk.read.dflame, and https://github.com/misasa/casteml

Examples

1
2
3
4
5
pmlfile <- cbk.path("20081202172326.hkitagawa.pml")
message(sprintf("The pmlfile is located at |%s|.",pmlfile))
pmlame  <- cbk.read.pmlame(pmlfile,tableunit="ppm",category="trace")
stone   <- "20081202172326.hkitagawa"
pmlame  <- cbk.read.pmlame(stone,tableunit="ppm")

misasa/chelyabinsk documentation built on Nov. 24, 2020, 5:47 a.m.