Skip to contents

Add a comment to a changeset and subscribe to the discussion. The changeset must be closed. Requires authentication.

Usage

osm_comment_changeset_discussion(changeset_id, comment)

Arguments

changeset_id

The id of the changeset to comment represented by a numeric or a character value.

comment

The text of the comment to post.

Value

Returns a data frame with the changeset (same format as osm_get_changesets() with format = "R").

See also

Examples

if (FALSE) { # \dontrun{
set_osmapi_connection("testing") # use the testing server
changeset <- osm_get_changesets(300626)
updated_changeset <- osm_comment_changeset_discussion(
  changeset_id = changeset$id,
  comment = "A new comment to test osmapiR"
)
updated_changeset
} # }