diff --git a/DESCRIPTION b/DESCRIPTION index 1c3e478..856a5fc 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: arcgislayers Type: Package Title: An Interface to ArcGIS Data Services -Version: 0.2.1 +Version: 0.3.0 Authors@R: c( person("Josiah", "Parry", , "josiah.parry@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-9910-865X")), diff --git a/NEWS.md b/NEWS.md index 45c78b8..6493d64 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# arcgislayers (development) +# arcgislayers 0.3.0 - `arc_open()` will now work on any resource that works when `f=json` is set in the query parameters closes [#163](https://github.com/R-ArcGIS/arcgislayers/issues/163) - Now uses [`{arcpbf}`](https://r.esri.com/arcpbf/index.html) when a layer supports protocol buffers. diff --git a/R/utils.R b/R/utils.R index 8cf219f..6d0eb4a 100644 --- a/R/utils.R +++ b/R/utils.R @@ -56,7 +56,7 @@ list_fields <- function(x) { res <- infer_esri_type(data.frame()) } - res + data_frame(res) } #' @export @@ -72,7 +72,7 @@ pull_field_aliases <- function(x) { #' @rdname utils list_items <- function(x) { check_inherits_any(x, c("FeatureServer", "ImageServer", "MapServer")) - rbind(x[["layers"]], x[["tables"]]) + data_frame(rbind(x[["layers"]], x[["tables"]])) } #' @export