get_layer_estimates: Get Estimates

View source: R/get-estimates.R

get_layer_estimatesR Documentation

Get Estimates

Description

Get Estimates

Usage

get_layer_estimates(x, token = arc_token())

Arguments

x

an object of class FeatureLayer, Table, or ImageServer.

token

an httr2_token as created by auth_code() or similar

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

## Not run: 
if (identical(Sys.getenv("NOT_CRAN"), "true")) {
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)
}

## End(Not run)

arcgislayers documentation built on March 4, 2026, 9:06 a.m.