Public fields
id
integer [optional]
name
character [optional]
affiliation
character [optional]
email
character [optional]
Methods
Method new()
Create a Contact
Usage
Contact$new(id = NULL, name = NULL, affiliation = NULL, email = NULL, ...)
Arguments
id
Contact id.
name
Contact name.
affiliation
Contact affiliation / address.
email
Contact email.
...
local optional variable arguments
Method toJSON()
Serialize to list object suitable for jsonlite
Method fromJSON()
Deserialize from jsonlite list object
Usage
Contact$fromJSON(ContactJson)
Method toJSONString()
Serialize to JSON string.
Method fromJSONString()
Deserialize from JSON string
Usage
Contact$fromJSONString(ContactJson)
Method toDataFrame()
Serialize to data frame
Method fromDataFrame()
Deserialize from contact data frame
Usage
Contact$fromDataFrame(ContactDataFrame)
Arguments
ContactDataFrame
contact data frame
Method clone()
The objects of this class are cloneable with this method.
Usage
Contact$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.