R-ArcGIS / arcgislayers

ArcGIS Location Services
http://r.esri.com/arcgislayers/
Apache License 2.0
37 stars 8 forks source link

remove compact() from arc_open() #152

Closed JosiahParry closed 4 months ago

JosiahParry commented 4 months ago

Checklist

Changes

Per request of @elipousson, remove compact() around fetch_layer_metadata() so that all properties, including NULL ones, are returned from arc_open().

library(arcgislayers)

"https://geodata.md.gov/imap/rest/services/Transportation/MD_Transit/FeatureServer/1" |> 
  arc_open() |> 
  length()
#> [1] 56

"https://geodata.md.gov/imap/rest/services/Transportation/MD_Transit/FeatureServer/9" |> 
  arc_open() |> 
  length()
#> [1] 56