Get Estimates
Usage
get_layer_estimates(x, token = arc_token())Arguments
- x
an object of class
FeatureLayer,Table, orImageServer.- token
an
httr2_tokenas created byauth_code()or similar
Value
A named list containing all estimate info. If extent is present,
it is available as an object of class bbox.
Examples
furl <- paste0(
"https://services.arcgis.com/P3ePLMYs2RVChkJx/ArcGIS/rest/services/",
"USA_Counties_Generalized_Boundaries/FeatureServer/0"
)
county_fl <- arc_open(furl)
get_layer_estimates(county_fl)
#> $count
#> [1] 3144
#>
#> $extent
#> xmin ymin xmax ymax
#> -178.21760 18.92179 -66.96927 71.40624
#>