Skip to content

Commit

Permalink
Merge pull request #231 from elipousson/replace-domain-values
Browse files Browse the repository at this point in the history
Add `set_layer_coded_values()` and export `set_layer_col_names()`
  • Loading branch information
JosiahParry authored Nov 26, 2024
2 parents 6f396ac + a1621b9 commit 0b9b19c
Show file tree
Hide file tree
Showing 10 changed files with 643 additions and 149 deletions.
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export(clear_query)
export(create_feature_server)
export(delete_features)
export(download_attachments)
export(encode_field_values)
export(get_all_layers)
export(get_layer)
export(get_layer_estimates)
Expand All @@ -39,6 +40,7 @@ export(publish_layer)
export(pull_field_aliases)
export(query_layer_attachments)
export(refresh_layer)
export(set_layer_aliases)
export(truncate_layer)
export(update_features)
export(update_params)
Expand Down
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
## New features

- Improve handling of `filter_geom` by `arc_select()` by warning if applying `sf::st_union()` to the filter does not generate a length 1 sfc, or if `filter_geom` is supplied when accessing a Table, or if `filter_geom` is empty (@elipousson, #166)
- Export `set_layer_aliases()` (previously used internally by `arc_read()`) to allow use of alias values with data returned by `arc_select()` (#169).
- Add new `encode_field_values()` function to support replacement or labeling of values with coded value domains (#134).

## Bug fixes

Expand All @@ -13,6 +15,7 @@
## Breaking changes

- `dplyr` methods for `collect()`, `select()`, and `filter()` have been removed. <https://github.com/R-ArcGIS/arcgislayers/issues/111> <https://github.com/R-ArcGIS/arcgislayers/issues/224> <https://github.com/R-ArcGIS/arcgislayers/issues/218>
- Soft deprecate `arc_read(col_names = "alias")` (use `arc_read(alias = "replace")` instead)

# arcgislayers 0.3.1

Expand Down
Loading

0 comments on commit 0b9b19c

Please sign in to comment.