createStateValue: Creates a state value

View source: R/JSON_library.R

createStateValueR Documentation

Creates a state value

Description

Creates a state value, can include an lsState or be nested inside one.

Usage

createStateValue(lsType = "lsType", lsKind = "lsKind", stringValue = NULL,
  fileValue = NULL, urlValue = NULL, publicData = TRUE, ignored = FALSE,
  dateValue = NULL, clobValue = NULL, blobValue = NULL,
  concentration = NULL, concUnit = NULL, valueOperator = NULL,
  operatorType = NULL, numericValue = NULL, sigFigs = NULL,
  uncertainty = NULL, uncertaintyType = NULL, numberOfReplicates = NULL,
  valueUnit = NULL, unitType = NULL, comments = NULL,
  lsTransaction = NULL, codeValue = NULL, recordedBy = "username",
  lsState = NULL, testMode = FALSE,
  recordedDate = as.numeric(format(Sys.time(), "%s")) * 1000,
  codeType = NULL, codeKind = NULL, codeOrigin = NULL)

Arguments

lsType

type of the value

lsKind

lsKind of the value

stringValue

<255 character

fileValue

file code or path

urlValue

url

publicData

TRUE to be visible

ignored

TRUE to mark as old

dateValue

date in milliseconds

clobValue

clob

blobValue

blob

concentration

numeric

concUnit

character

valueOperator

">" or "<"

operatorType

"comparison", not yet implemented

numericValue

numeric

sigFigs

integer

uncertainty

numeric

uncertaintyType

"standard deviation"

numberOfReplicates

integer

valueUnit

"uM", etc.

unitType

not yet implemented

comments

used by fileValue for a filename, flags for comments, etc.

lsTransaction

id of the transaction

codeValue

codename of something

recordedBy

the current username

lsState

a state object

testMode

used for testing

testMode

used for testing

lsServerURL

the url for the roo server

Details

Use either in a nested object or alone

Value

list, a value object


mcneilco/racas documentation built on Feb. 22, 2024, 10:07 p.m.