Skip to contents

Get Estimates

Usage

get_layer_estimates(x, token = arc_token())

Arguments

x

an object of class FeatureLayer, Table, or ImageServer.

token

your authorization token.

Value

A named list containing all estimate info. If extent is present, it is available as an object of class bbox.

References

ArcGIS REST Doc

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] 3143
#> 
#> $extent
#>       xmin       ymin       xmax       ymax 
#> -178.21760   18.92179  -66.96927   71.40624 
#>