View source: R/get_area_citations.R
get_area_citations | R Documentation |
Get Environmental Control Board (ECB) citations from 2007 to 2021.
get_area_citations(
area_type = NULL,
area_name = NULL,
description = NULL,
start_date = NULL,
end_date = NULL,
where = "1=1",
geometry = TRUE,
crs = pkgconfig::get_config("mapbaltimore.crs", 2804),
...
)
area_type |
Area type. Requires area_name is also provided. Options include "neighborhood", "council district", or "police district" |
area_name |
Area name. Requires area_type is also provided. |
description |
String matching description of citations, e.g. "SIGNS" filters citations to "PROHIBITED POSTING OF SIGNS ON PUBLIC PROPERTY" |
start_date |
Character string in format YYYY-MM-DD. Filters citations by violation date. |
end_date |
Character string in format YYYY-MM-DD. Filters citations by violation date. |
where |
string for where condition. Ignore where condition if area_type and area_name are provided. |
geometry |
Return sf object based on lat/lon. Default |
crs |
Coordinate reference system (CRS) to return. Default 2804 |
... |
Additional parameters passed to |
# Get bulk trash citations for Council District 5
get_area_citations(
area_type = "council district",
area_name = "5",
description = "BULK TRASH")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.