Last chance! 50% off unlimited learning
Sale ends in
The base Choropleth object.
The base Choropleth object.
new()
Choropleth$new(
ref.regions,
ref.regions.name,
map.df,
geoid.all,
user.df,
geoid.name,
geoid.type,
value.name,
num_colors,
label_col
)
set_zoom()
Choropleth$set_zoom(zoom)
get_ggscale()
Choropleth$get_ggscale(
choropleth.df = self$choropleth.df,
respect_zoom = TRUE,
custom.colors,
color.min,
color.max,
na.color,
nbreaks
)
get_projection()
Choropleth$get_projection(
choropleth.df = self$choropleth.df,
respect_zoom = TRUE,
projection_name,
ignore_latlon,
limits_lat,
limits_lon,
reproject,
whitespace
)
render()
Choropleth$render(
choropleth.df = self$choropleth.df,
ggscale,
projection,
respect_zoom = TRUE,
occlude_latlon_limits,
border_color,
border_thickness,
background_color,
gridlines,
latlon_ticks,
label,
label_text_size,
label_text_color,
label_box_color,
ggrepel_options,
legend,
legend_position,
title,
addl_gglayer
)
clone()
The objects of this class are cloneable with this method.
Choropleth$clone(deep = FALSE)
deep
Whether to make a deep clone.