A wrapper for getdata::get_esri_data()
Arguments
- area
Area (passed to location), Default: NULL
- nm
nm (should match a single value from baltimore_gis_index$nm), Default: NULL
- type
Type used as an alias for a nm value, Default: NULL
- crs
Coordinate reference system, Default: NULL
- ...
Arguments passed on to
getdata::get_esri_dataurlFeatureServer or MapServer url to retrieve data from. Passed to
urlparameter ofesri2sf::esri2sf()oresri2sf::esri2df()functions. Forget_esri_layers(), the optional url must be a service url which is the base url for one or more layer urls.locationsf,sfc, orbboxobject (or other object convertible withas_bbox(). Optional.distbuffer distance in units. Optional.
diag_ratioratio of diagonal distance of area's bounding box used as buffer distance. e.g. if the diagonal distance is 3000 meters and the "diag_ratio = 0.1" a 300 meter will be used. Ignored when
distis provided.unitUnits for buffer. Supported options include "meter", "foot", "kilometer", and "mile", "nautical mile" Common abbreviations (e.g. "km" instead of "kilometer") are also supported. Distance in units is converted to units matching GDAL units for x; defaults to "meter"
aspAspect ratio of width to height as a numeric value (e.g. 0.33) or character (e.g. "1:3"). If numeric,
get_asp()returns the same value without modification.wherewhere query string passed to esri2sf, Default:
NULLname,name_colName value and name column found in the ArcGIS FeatureServer or MapServer data.
coordsCoordinate columns for input data.frame or output sf object (if geometry is 'centroid' or 'point') Default: c("lon", "lat").
from_crsFor
df_to_sf(), coordinate reference system used by coordinates or well known text in data frame.clean_namesIf
TRUE, set .name_repair tojanitor::make_clean_names()Ignored whenget_esri_metadata()is not returning a data.frame, e.g.meta = "id".tokenstring for authentication token. defaults to
NULL.progressShow progress bar from
cli::cli_progress_along()ifTRUE. DefaultFALSE.quietIf
TRUE, usesuppressMessages()to prevent the printing of messages about the requested layer. Defaults toFALSE..name_repairPassed to
tibble::as_tibble().callThe execution environment of a currently running function, e.g.
caller_env(). The function will be mentioned in error messages as the source of the error. See thecallargument ofabort()for more information.
