fetchAllRecords | R Documentation |
Retrieves tabular data from AGOL layers and tables, even when number of rows exceeds maximum record count.
fetchAllRecords(
data_path,
layer_number,
token,
geometry = FALSE,
where = "1=1",
outFields = "*"
)
data_path |
Feature service URL |
layer_number |
Layer number |
token |
Authentication token (optional) |
geometry |
Include spatial data columns? Works with points, not tested with other geometry types |
where |
Query clause specifying a subset of rows (optional; defaults to all rows). See AGOL REST API documentation. |
outFields |
String indicating which fields to return (optional; defaults to all fields). See AGOL REST API documentation. |
A tibble
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.