Skip to content

v0.3.3

Choose a tag to compare

@lsteinmann lsteinmann released this 23 Nov 12:01
· 41 commits to main since this release
15f3c53

idaifieldR 0.3.3 2023-11-25

New features

  • Add idf_last_changed(connection, n = n): Returns a vector with the last n changed resources in the database.
  • Add idf_get_changes(connection, ids = c(...)): Returns a data.frame in which each change to one of the resources listed in ids (can be either their 'identifier' or 'UUID') corresponds to one row separated by creation or modification.
  • remove_config_names() issues a message about duplicate field or category names if it is appropriate. Functions may override data when multiple columns with the same name would otherwise exist, as e.g. 'diameter' and 'projectName:diameter'. Attaches an attribute that lists the duplicate field/category names.

Minor changes

  • Notify of new / different version on GitHub on attaching the package (check_idaifieldr_version()).

Fixes

  • Fix problem in reformat_geometry() (MultiPolygons have to be unnested before processing). (Imported Polygons may be formatted improperly, unnest if necessary (reformat_geometry()). Geometry is still a work in progress.)
  • Fix a bug in get_field_index(), where it would return an empty data.frame if there was no configuration-resource.

What's Changed

Full Changelog: v0.3.2...v0.3.3