parse_esri_data: Parse ESRI JSON

View source: R/parse_esri_json.R

parse_esri_dataR Documentation

Parse ESRI JSON

Description

Parse the JSON response of the API

Usage

parse_esri_data(x, geometry)

Arguments

x

an R list of data returned by the APPI (parsed JSON returned by the API)

geometry

is there a geometry element to the json? TRUE/FALSE

Details

Conditionally parse the JSON response of the API depending on whether it is a table of layer (e.g. has geometry)

Value

a tibble or sf object


MatthewJWhittle/getarc documentation built on April 22, 2023, 12:16 p.m.