Variable class
Variable class
Definition for the Variable class.
dataset
Dataset
object.
index
character
value.
total
numeric
value.
units
character
value.
legend
Legend
object.
provenance
Provenance object.
new()
Create a Variable object.
Variable$new(dataset, index, total, units, legend, provenance)
dataset
Dataset
value.
index
character
or integer
value.
total
numeric
value.
units
character
value.
legend
Legend
object.
provenance
Provenance object.
A new Variable object.
new()
Create a Variable object.
Variable$new(dataset, index, total, units, legend, provenance)
dataset
Dataset
value.
index
character
or integer
value.
total
numeric
value.
units
character
value.
legend
Legend
object.
provenance
Provenance object.
A new Variable object.
print()
Print the object.
Variable$print(...)
...
not used.
print()
Print the object.
Variable$print(...)
...
not used.
repr()
Generate a character
summarizing the representation of the object.
Variable$repr(start = "[", end = "]")
start
character
symbol used to start the setting list.
Defaults to "["
.
end
character
symbol used to start the setting list.
Defaults to "]"
.
character
value.
repr()
Generate a character
summarizing the representation of the object.
Variable$repr(start = "[", end = "]")
start
character
symbol used to start the setting list.
Defaults to "["
.
end
character
symbol used to start the setting list.
Defaults to "]"
.
character
value.
verify()
Verify that the data can be extracted from the dataset.
Variable$verify()
invisible TRUE
indicating success.
verify()
Verify that the data can be extracted from the dataset.
Variable$verify()
invisible TRUE
indicating success.
get_data()
Get the data.
Variable$get_data()
sf::st_as_sf()
or raster::raster()
object.
get_data()
Get the data.
Variable$get_data()
sf::st_as_sf()
or raster::raster()
object.
export()
Export settings
Variable$export()
list
object.
export()
Export settings
Variable$export()
list
object.
render()
Render variable on map.
Variable$render(x, id, zindex, visible)
x
leaflet::leaflet()
object.
id
character
identifier for map pane.
zindex
numeric
z-index for ordering.
visible
logical
should the variable be visible?
leaflet::leaflet()
object.
render()
Render variable on map.
Variable$render(x, id, zindex, visible)
x
leaflet::leaflet()
object.
id
character
identifier for map pane.
zindex
numeric
z-index for ordering.
visible
logical
should the variable be visible?
leaflet::leaflet()
object.
update_render()
Update rendering of variable on map.
Variable$update_render(x, id, zindex, visible)
x
leaflet::leafletProxy()
object.
id
character
identifier for map pane.
zindex
numeric
z-index for ordering.
visible
logical
should the variable be visible?
leaflet::leaflet()
object.
update_render()
Update rendering of variable on map.
Variable$update_render(x, id, zindex, visible)
x
leaflet::leafletProxy()
object.
id
character
identifier for map pane.
zindex
numeric
z-index for ordering.
visible
logical
should the variable be visible?
leaflet::leaflet()
object.
clone()
The objects of this class are cloneable with this method.
Variable$clone(deep = FALSE)
deep
Whether to make a deep clone.
clone()
The objects of this class are cloneable with this method.
Variable$clone(deep = FALSE)
deep
Whether to make a deep clone.