Contact | R Documentation |
Contact Class
An R6Class
generator object
id
integer [optional]
name
character [optional]
affiliation
character [optional]
email
character [optional]
new()
Create a Contact
Contact$new(id = NULL, name = NULL, affiliation = NULL, email = NULL, ...)
id
Contact id.
name
Contact name.
affiliation
Contact affiliation / address.
email
Contact email.
...
local optional variable arguments
toJSON()
Serialize to list object suitable for jsonlite
Contact$toJSON()
fromJSON()
Deserialize from jsonlite list object
Contact$fromJSON(ContactJson)
ContactJson
list object.
toJSONString()
Serialize to JSON string.
Contact$toJSONString()
fromJSONString()
Deserialize from JSON string
Contact$fromJSONString(ContactJson)
ContactJson
JSON string
toDataFrame()
Serialize to data frame
Contact$toDataFrame()
fromDataFrame()
Deserialize from contact data frame
Contact$fromDataFrame(ContactDataFrame)
ContactDataFrame
contact data frame
clone()
The objects of this class are cloneable with this method.
Contact$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.