View source: R/layer_area_property.R
layer_area_property | R Documentation |
Real property or parcel data is from the Maryland State Department of Assessment and Taxation and may include outdated or inaccurate information.
layer_area_property(
area = NULL,
bbox = NULL,
data = NULL,
type = c("improved", "vacant", "principal residence", "use", "building type", "value"),
asis = FALSE,
diag_ratio = NULL,
dist = NULL,
asp = NULL,
crop = TRUE,
trim = FALSE,
show_area = FALSE,
show_mask = FALSE,
crs = pkgconfig::get_config("mapbaltimore.crs", 2804),
...
)
area |
|
bbox |
|
data |
|
type |
Real property variable to map. Options include c("improved", "vacant", "principal residence", "value"). Currently supports only one variable at a time. |
asis |
Logical. Default FALSE. If TRUE, use inherited data as is without cropping to area. |
diag_ratio |
ratio to set map extent based diagonal distance of area's
bounding box. Ignored when |
dist |
buffer distance in meters. Optional. |
asp |
Aspect ratio of width to height as a numeric value (e.g. 0.33) or character (e.g. "1:3"). |
crop |
If TRUE, data cropped to area or bounding box
|
trim |
If TRUE, data trimmed to area with
|
show_area |
Logical. Default FALSE. If TRUE, add an outline of the area to the layer. |
show_mask |
Logical. Default FALSE. If TRUE, add a mask using
|
crs |
Coordinate Reference System (CRS) to use for the returned data. The CRS of the provided data and bounding box or area must match one another but are not required to match the CRS provided by this parameter. |
... |
passed to |
layer_area_data
## Not run:
area <- get_area("neighborhood", "West Forest Park")
property <- get_area_property(area = area)
ggplot2::ggplot() +
layer_area_property(area = area, data = property, type = "principal residence")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.