Publication Class

Format

An R6Class generator object

Public fields

id

integer [optional]

publicationItems

list( PublicationItem )

Methods


Method new()

Create a Publication

Usage

Publication$new(publicationItems, id = NULL, ...)

Arguments

publicationItems

The list( PublicationItem )s.

id

Publication id.

...

local optional variable arguments


Method toJSON()

Serialize to list object suitable for jsonlite

Usage

Publication$toJSON()


Method fromJSON()

Deserialize from jsonlite list object

Usage

Publication$fromJSON(PublicationJson)

Arguments

PublicationJson

list object.


Method toJSONString()

Serialize to JSON string.

Usage

Publication$toJSONString()


Method fromJSONString()

Deserialize from JSON string

Usage

Publication$fromJSONString(PublicationJson)

Arguments

PublicationJson

JSON string


Method toDataFrame()

Serialize to data frame

Usage

Publication$toDataFrame()


Method fromDataFrame()

Deserialize from publication data frame

Usage

Publication$fromDataFrame(PublicationDataFrame)

Arguments

PublicationDataFrame

Publication data frame


Method clone()

The objects of this class are cloneable with this method.

Usage

Publication$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.