View source: R/get_area_esri_data.R
get_area_esri_data | R Documentation |
This function is deprecated because the functionality has been incorporated
into the improved getdata::get_esri_data()
function which uses a similar
set of parameters.
Wraps the esri2sf::esri2sf()
function to download an ArcGIS
FeatureServer or MapServer.
get_area_esri_data(
area = NULL,
bbox = NULL,
url = NULL,
where = "1=1",
type = c("md food stores 2017 2018", "farmers markets 2020",
"baltimore food stores 2016", "baltimore demolitions", "contour 2ft",
"contours 10ft", "open vacant building notices", "liquor licenses",
"fixed speed cameras", "red light cameras", "edge of pavement"),
dist = NULL,
diag_ratio = NULL,
asp = NULL,
trim = FALSE,
crs = pkgconfig::get_config("mapbaltimore.crs", 2804)
)
area |
|
bbox |
|
url |
FeatureServer or MapServer url to retrieve data from. Passed to
|
where |
string for where condition. Default is 1=1 for all rows. |
type |
Type of data to get. Options include "md food stores 2017 2018", "farmers markets 2020", "baltimore food stores 2016", "baltimore demolitions", "contour 2ft", "contours 10ft", "open vacant building notices", "liquor licenses", "fixed speed cameras", "red light cameras", and "edge of pavement" |
dist |
buffer distance in meters. Optional. |
diag_ratio |
ratio to set map extent based diagonal distance of area's
bounding box. Ignored when |
asp |
Aspect ratio of width to height as a numeric value (e.g. 0.33) or character (e.g. "1:3"). |
trim |
Logical. Default |
crs |
Coordinate reference system. Default 2804. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.