powered by
Identifies relevant census places and plots them.
geom_places( mapping = NULL, data = NULL, position = "identity", na.rm = FALSE, state = NULL, show.legend = NA, inherit.aes = TRUE, ... )stat_places( mapping = NULL, data = NULL, geom = ggplot2::GeomSf, position = "identity", na.rm = FALSE, state = NULL, show.legend = NA, inherit.aes = TRUE, ... )
stat_places( mapping = NULL, data = NULL, geom = ggplot2::GeomSf, position = "identity", na.rm = FALSE, state = NULL, show.legend = NA, inherit.aes = TRUE, ... )
a ggproto object
ggproto
Set of aesthetic mappings created by aes()
aes()
The data to be displayed in this layer
Position adjustment
if TRUE, will silently remove missing values from calculations
TRUE
state to use. Guesses based on overlap if not provided.
Should this layer be included in the legends?
If FALSE, overrides the default aesthetics, rather than combining with them.
FALSE
Passed onto the underlying geoms.
The geometric object to use display the data
library(ggplot2) data(oregon) ggplot(oregon, aes(group = cd_2020)) + geom_district() + theme_map() ggplot(oregon, aes(group = cd_2020)) + geom_district() + theme_map()
Run the code above in your browser using DataLab