Variable class
Variable class
Public fields
dataset
Dataset
object.index
character
value.total
numeric
value.units
character
value.legend
Legend
object.provenance
Provenance object.
Methods
Method new()
Create a Variable object.
Usage
Variable$new(dataset, index, total, units, legend, provenance)
Arguments
dataset
Dataset
value.index
character
orinteger
value.total
numeric
value.units
character
value.legend
Legend
object.provenance
Provenance object.
Method repr()
Generate a character
summarizing the representation of the object.
Method render()
Render variable on map.
Arguments
x
leaflet::leaflet()
object.id
character
identifier for map pane.zindex
numeric
z-index for ordering.visible
logical
should the variable be visible?
Returns
leaflet::leaflet()
object.
Method update_render()
Update rendering of variable on map.
Arguments
x
leaflet::leafletProxy()
object.id
character
identifier for map pane.zindex
numeric
z-index for ordering.visible
logical
should the variable be visible?
Returns
leaflet::leaflet()
object.