Make doughnuts
zb_doughnut(
x = NULL,
area = NULL,
n_circles = NA,
distance = 1,
distance_growth = 1
)Centre point. Should be an sf or sfc object containing one point, or a name of a city (which is looked up with OSM geocoding).
(optional) Area. Should be an sf or sfc object containing one (multi) polygon
Number of rings including the central circle. By default 5, unless area is specified (then it is set automatically to fill the area).
Distance The distances between the circles. For the center circle, it is the distance between the center and the circle. If only one number is specified, distance_growth determines the increment at which the distances grow for the outer circles.
The rate at which the distances between the circles grow. Only applicable when distance is one number and n_circles > 1. See also distance.
An `sf` data frame